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

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

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

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

@@ -1723,7 +1723,7 @@ EOT;
                     <div>
                         <div style="display: block; width: 100%; line-height: 15px; margin: 0; padding: 0;">
                             <table style="table-layout: fixed;" class="table-noborder" width="100%">
-                                <tr style="text-align: left; font-size: 12px; font-weight: normal;">
+                                <tr style="text-align: left; font-size: 12px; font-weight: normal; height: 50px; vertical-align: middle;">
                                     <td>
                                         Bill to
                                     </td>
@@ -1731,7 +1731,7 @@ EOT;
                                         Invoice No.: {$invoiceNo}
                                     </td>
                                 </tr>
-                                <tr style="text-align: left; font-size: 12px; font-weight: normal;">
+                                <tr style="text-align: left; font-size: 12px; font-weight: normal; height: 50px; vertical-align: middle;">
                                     <td>
                                         Name of Distributor: {$userName}
                                     </td>
@@ -1739,7 +1739,7 @@ EOT;
                                         Date: {$orderAt}
                                     </td>
                                 </tr>
-                                <tr style="text-align: left; font-size: 12px; font-weight: normal;">
+                                <tr style="text-align: left; font-size: 12px; font-weight: normal; height: 50px; vertical-align: middle;">
                                     <td>
                                         Member ID: {$userId}
                                     </td>
@@ -1747,12 +1747,12 @@ EOT;
                                         Payment status: {$paymentStatus}
                                     </td>
                                 </tr>
-                                <tr style="text-align: left; font-size: 12px; font-weight: normal;">
+                                <tr style="text-align: left; font-size: 12px; font-weight: normal; height: 50px; vertical-align: middle;">
                                     <td colspan="2">
                                         Address: {$address}
                                     </td>
                                 </tr>
-                                <tr style="text-align: left; font-size: 12px; font-weight: normal;">
+                                <tr style="text-align: left; font-size: 12px; font-weight: normal; height: 50px; vertical-align: middle;">
                                     <td colspan="2">
                                         Contact: {$mobile}
                                     </td>
@@ -1822,13 +1822,13 @@ EOT;
                             <table style="table-layout: fixed;" class="table-noborder">
                                 <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>
+                                    <td colspan="2" >Method:</td>
+                                    <td colspan="2">{$paymentMethod}</td>
                                 </tr>
-                                <tr>
+                                <tr style="text-align: left; font-weight: normal; font-size: 12px;">
                                     <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 colspan="2" >Paid amount:</td>
+                                    <td colspan="2">{$currency}{$orderAmount}</td>
                                 </tr>
                             </table>
                             
@@ -1843,8 +1843,8 @@ EOT;
                                     <td colspan="2">Remark:</td>
                                     <td colspan="9"></td>
                                 </tr>
-                                <tr>
-                                    <td colspan="4"style="font-weight: normal;">{$invoiceRemark}</td>
+                                <tr style="text-align: left; font-weight: normal; font-size: 12px;">
+                                    <td colspan="4">{$invoiceRemark}</td>
                                     <td colspan="7"></td>
                                 </tr>
                             </table>