Przeglądaj źródła

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

zhangl 2 miesięcy temu
rodzic
commit
6954a92603
1 zmienionych plików z 14 dodań i 14 usunięć
  1. 14 14
      common/libs/export/BaseExport.php

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

@@ -1712,7 +1712,7 @@ EOT;
                 </style>
             </head>
             <body>
-                <div class="content" style="font-size: 15px; line-height: 10px; font-weight: normal;">
+                <div class="content" style="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>
@@ -1722,8 +1722,8 @@ EOT;
                     <hr /><br><br>
                     <div>
                         <div style="display: block; width: 100%; line-height: 15px; margin: 0; padding: 0;">
-                            <table style="table-layout: fixed; text-align: left; font-size: 13px; font-weight: normal;" class="table-noborder" width="100%">
-                                <tr>
+                            <table style="table-layout: fixed;" class="table-noborder" width="100%">
+                                <tr style="text-align: left; font-size: 12px; font-weight: normal;">
                                     <td>
                                         Bill to
                                     </td>
@@ -1731,7 +1731,7 @@ EOT;
                                         Invoice No.: {$invoiceNo}
                                     </td>
                                 </tr>
-                                <tr>
+                                <tr style="text-align: left; font-size: 12px; font-weight: normal;">
                                     <td>
                                         Name of Distributor: {$userName}
                                     </td>
@@ -1739,7 +1739,7 @@ EOT;
                                         Date: {$orderAt}
                                     </td>
                                 </tr>
-                                <tr>
+                                <tr style="text-align: left; font-size: 12px; font-weight: normal;">
                                     <td>
                                         Member ID: {$userId}
                                     </td>
@@ -1747,12 +1747,12 @@ EOT;
                                         Payment status: {$paymentStatus}
                                     </td>
                                 </tr>
-                                <tr>
+                                <tr style="text-align: left; font-size: 12px; font-weight: normal;">
                                     <td colspan="2">
                                         Address: {$address}
                                     </td>
                                 </tr>
-                                <tr>
+                                <tr style="text-align: left; font-size: 12px; font-weight: normal;">
                                     <td colspan="2">
                                         Contact: {$mobile}
                                     </td>
@@ -1763,7 +1763,7 @@ EOT;
                             <br />
                             <br />
                             <table border="1" width="100%">
-                                <tr style="text-align: left; padding: 10px 5px; font-weight: normal; font-size: 13px;">
+                                <tr style="text-align: left; font-weight: normal; font-size: 12px;">
                                     <th>No.</th>
                                     <th>Product Code</th>
                                     <th>Product Name</th>
@@ -1785,7 +1785,7 @@ EOT;
                             </table>
                             
                             <table style="table-layout: fixed;">  
-                                <tr style="text-align: left; font-weight: normal; font-size: 13px;">
+                                <tr style="text-align: left; font-weight: normal; font-size: 12px;">
                                     <td class="table-noborder"></td>
                                     <td style="text-align: left; background-color: lightslategray;" colspan="2">Grand Total</td>
                                     <td style="text-align: left; background-color: lightslategray;">{$orderTotalQuantity}</td>
@@ -1806,7 +1806,7 @@ EOT;
                             </table>    
                             
                             <table style="table-layout: fixed;">
-                                <tr>
+                                <tr style="text-align: left; font-weight: normal; font-size: 12px;">
                                     <td colspan="7" class="table-noborder"></td>
                                     <td style="text-align: left; background-color: lightgoldenrodyellow;" colspan="2" >Total Amount</td>
                                     <td style="text-align: left; background-color: lightgoldenrodyellow;" colspan="2">{$currency}{$orderAmount}</td>
@@ -1820,7 +1820,7 @@ EOT;
                             </table> 
                             
                             <table style="table-layout: fixed;" class="table-noborder">
-                                <tr>
+                                <tr style="text-align: left; font-weight: normal; font-size: 12px;">
                                     <td colspan="7"></td>
                                     <td style="text-align: left;" colspan="2" >Method:</td>
                                     <td style="text-align: left;" colspan="2">{$paymentMethod}</td>
@@ -1828,7 +1828,7 @@ EOT;
                                 <tr>
                                     <td colspan="7"></td>
                                     <td style="text-align: left;" colspan="2" >Paid amount:</td>
-                                    <td style="text-align: left;" colspan="2">{$currency} {$orderAmount}</td>
+                                    <td style="text-align: left;" colspan="2">{$currency}{$orderAmount}</td>
                                 </tr>
                             </table>
                             
@@ -1839,7 +1839,7 @@ EOT;
                             </table>
                             
                             <table style="table-layout: fixed;" class="table-noborder">    
-                                <tr style="text-align: left; font-weight: normal; font-size: 13px;">
+                                <tr style="text-align: left; font-weight: normal; font-size: 12px;">
                                     <td colspan="2">Remark:</td>
                                     <td colspan="9"></td>
                                 </tr>
@@ -1865,7 +1865,7 @@ EOT;
                             </table>
                             
                             <table style="table-layout: fixed;" class="table-noborder">    
-                                <tr>
+                                <tr style="text-align: left; font-weight: normal; font-size: 12px;">
                                     <td>Issued By:</td>
                                     <td></td>
                                     <td></td>