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

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

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

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

@@ -1691,7 +1691,7 @@ EOT;
                 </style>
             </head>
             <body>
-                <div class="content" style="font-size: 15px; font-weight: normal;">
+                <div class="content" style="font-size: 15px; line-height: 10px; 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%; line-height: 20px; ">
+                        <div style="display: block; width: 100%; line-height: 10px; ">
                             <table style="table-layout: fixed;" class="table-noborder">
                                 <tr>
                                     <td style="text-align: left; font-size: 14px; width:50%;">
@@ -1887,7 +1887,7 @@ ORDER;
             // 设置默认等宽字体
             $pdf->SetDefaultMonospacedFont(PDF_FONT_MONOSPACED);
             // 设置行高
-            $pdf->setCellHeightRatio(1);
+//            $pdf->setCellHeightRatio(1);
             // 设置左、上、右的间距
 //            $pdf->SetMargins('10', '0', '10');
             // 设置是否自动分页  距离底部多少距离时分页