|
|
@@ -1591,6 +1591,7 @@ ORDER;
|
|
|
$countyName = $value['COUNTY'] ? Region::getCnName($value['COUNTY']) : '';
|
|
|
$paymentMethod = $value['PAY_TYPE'] ?? '';
|
|
|
$currency = Currency::findOne($value['CURRENCY_ID'])['CODE'] ?? '';
|
|
|
+ $paymentStatus = $value['PAY_STATUS'] ?? '';
|
|
|
|
|
|
$userId = $value['USER_NAME'];
|
|
|
$userName = $value['REAL_NAME'];
|
|
|
@@ -1732,7 +1733,7 @@ ORDER;
|
|
|
</style>
|
|
|
</head>
|
|
|
<body>
|
|
|
- <div class="content">
|
|
|
+ <div class="content" style="font-size: 15px;">
|
|
|
<p style="text-align: left; font-weight: bold; font-size: 18px;"><b>Tax Invoice</b><br></p>
|
|
|
<p style="text-align: left; font-weight: bold; font-size: 15px;"><b>Elken Arabiya General Grading Co.LLC</b><br></p>
|
|
|
<p style="text-align: left; font-size: 13px;">Shop No.2, Plot 356-1142, Juneirah Street, Umm Suqeim 1, Dubai, UAE<br></p>
|
|
|
@@ -1859,9 +1860,8 @@ ORDER;
|
|
|
<td>abscesc</td>
|
|
|
<td></td>
|
|
|
<td></td>
|
|
|
- <td>Received By:</td>
|
|
|
+ <td colspan="2">Received By:</td>
|
|
|
<td>abscesc</td>
|
|
|
- <td></td>
|
|
|
</tr>
|
|
|
<tr>
|
|
|
<td colspan="11"></td>
|
|
|
@@ -1886,7 +1886,7 @@ ORDER;
|
|
|
// 是否显示页眉
|
|
|
$pdf->setPrintHeader(false);
|
|
|
// 设置页眉字体
|
|
|
- $pdf->setHeaderFont(Array('dejavusans', '', '12'));
|
|
|
+// $pdf->setHeaderFont(Array('dejavusans', '', '12'));
|
|
|
// 页眉距离顶部的距离
|
|
|
$pdf->SetHeaderMargin('5');
|
|
|
// 是否显示页脚
|
|
|
@@ -1896,7 +1896,7 @@ ORDER;
|
|
|
// 设置行高
|
|
|
$pdf->setCellHeightRatio(1);
|
|
|
// 设置左、上、右的间距
|
|
|
- $pdf->SetMargins('10', '0', '10');
|
|
|
+// $pdf->SetMargins('10', '0', '10');
|
|
|
// 设置是否自动分页 距离底部多少距离时分页
|
|
|
$pdf->SetAutoPageBreak(TRUE, '15');
|
|
|
// 设置图像比例因子
|
|
|
@@ -1908,7 +1908,7 @@ ORDER;
|
|
|
$pdf->setFontSubsetting(true);
|
|
|
$pdf->AddPage();
|
|
|
// 设置字体
|
|
|
- $pdf->SetFont('stsongstdlight', '', 10, '', true);
|
|
|
+// $pdf->SetFont('stsongstdlight', '', 10, '', true);
|
|
|
// $image_file = \Yii::$app->basePath . '/../ngds-logo.jpg';
|
|
|
// $image = file_get_contents($image_file);
|
|
|
// $pdf->Image('@' . $image, 15, 12, 20, 7, 'JPG');
|