瀏覽代碼

feat: EK-3320: [Order List]新增发票功能.

kevin 1 月之前
父節點
當前提交
8f55bad469
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      common/libs/export/BaseExport.php

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

@@ -818,7 +818,7 @@ ORDER;
             // 设置行高
             $pdf->setCellHeightRatio(1);
             // 设置左、上、右的间距
-            $pdf->SetMargins('10', '0', '10');
+            $pdf->SetMargins('15', '15', '15');
             // 设置是否自动分页  距离底部多少距离时分页
             $pdf->SetAutoPageBreak(TRUE, '15');
             // 设置图像比例因子
@@ -1746,7 +1746,7 @@ EOT;
                     }
                 </style>
             </head>
-            <body style="font-weight: normal; margin: 10px; padding:10px; line-height: 1.3;">
+            <body style="font-weight: normal; margin: 0; padding: 0; line-height: 1.3;">
                 <div class="content" style="line-height: 1.3; font-weight: normal;">
                     <p style="text-align: left; font-weight: bold; font-size: 18px; margin: 0 !important; padding: 0 !important; line-height: 1.3 !important;"><b>Tax Invoice</b></p>
                     <p style="text-align: left; font-weight: bold; font-size: 15px; margin: 0 !important; padding: 0 !important; line-height: 1.3 !important;"><b>Elken Arabiya General Grading Co.LLC</b></p>