Преглед изворни кода

feat: EK-3320: 订单增加 Invoice 下载

zhangl пре 1 месец
родитељ
комит
de1c17bea0
1 измењених фајлова са 4 додато и 4 уклоњено
  1. 4 4
      common/libs/export/BaseExport.php

+ 4 - 4
common/libs/export/BaseExport.php

@@ -1691,7 +1691,7 @@ EOT;
                 </style>
             </head>
             <body>
-                <div class="content" style="font-size: 15px; line-height: 20px; font-weight: normal;">
+                <div class="content" style="font-size: 15px; font-weight: normal;">
                     <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>
@@ -1700,7 +1700,7 @@ EOT;
                     <p style="text-align: left; font-size: 13px;">VAT No: 105034822400003<br></p>
                     <hr /><br><br>
                     <div>
-                        <div style="display: block; width: 100%;">
+                        <div style="display: block; width: 100%; line-height: 20px; ">
                             <table style="table-layout: fixed;" class="table-noborder">
                                 <tr>
                                     <td style="text-align: left; font-size: 14px; width:50%;">
@@ -1889,7 +1889,7 @@ ORDER;
             // 设置行高
             $pdf->setCellHeightRatio(1);
             // 设置左、上、右的间距
-            $pdf->SetMargins('10', '0', '10');
+//            $pdf->SetMargins('10', '0', '10');
             // 设置是否自动分页  距离底部多少距离时分页
             $pdf->SetAutoPageBreak(TRUE, '15');
             // 设置图像比例因子
@@ -1901,7 +1901,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');