wugg 8 місяців тому
батько
коміт
d264ff986e
2 змінених файлів з 2 додано та 0 видалено
  1. 1 0
      app/admin/controller/Purch.php
  2. 1 0
      app/admin/controller/Sale.php

+ 1 - 0
app/admin/controller/Purch.php

@@ -287,6 +287,7 @@ class Purch extends Base
          $taxInfo=OrderTax::where(['code'=>$data['cgdNo']])->findOrEmpty();
          $data['tax_name'] = $taxInfo['tax_name']??'';
          $data['tax_code'] =$taxInfo['tax_code']??'';
+          $data['tax_short_name'] =$taxInfo['tax_short_name']??'';
          $data['tax']=$taxInfo['inv_tax']??'';
          $data['inv_good_name']=$taxInfo['inv_good_name']??'';
 

+ 1 - 0
app/admin/controller/Sale.php

@@ -2588,6 +2588,7 @@ class Sale extends Base
         } else {
             $taxInfo=OrderTax::where(['code'=>$einfo['orderCode']])->findOrEmpty();
             $einfo['tax_name'] = $taxInfo['tax_name']??'';
+            $einfo['tax_short_name'] =$taxInfo['tax_short_name']??'';
             $einfo['tax_code'] =$taxInfo['tax_code']??'';
             $einfo['tax']=$taxInfo['inv_tax']??'';
             $einfo['inv_good_name']=$taxInfo['inv_good_name']??'';