shish 1 anno fa
parent
commit
8fb9cf365b
1 ha cambiato i file con 2 aggiunte e 0 eliminazioni
  1. 2 0
      biz-hd/purchase/classes/PurchaseClass.php

+ 2 - 0
biz-hd/purchase/classes/PurchaseClass.php

@@ -1015,9 +1015,11 @@ class PurchaseClass extends BaseClass
             //剩余欠款
             //剩余欠款
             $balance = $ghsInfo[$ghsId]['balance']??0;
             $balance = $ghsInfo[$ghsId]['balance']??0;
             $debtAmount = $ghsInfo[$ghsId]['debtAmount'] ?? 0;
             $debtAmount = $ghsInfo[$ghsId]['debtAmount'] ?? 0;
+            $ghsSalt = $ghsInfo[$ghsId]['salt'] ?? '';
             $remainDebtAmount = bcsub($debtAmount, $balance, 2);
             $remainDebtAmount = bcsub($debtAmount, $balance, 2);
             $list[$key]['remainDebtAmount'] = floatval($remainDebtAmount);
             $list[$key]['remainDebtAmount'] = floatval($remainDebtAmount);
             $list[$key]['inMyGhsBalance'] = floatval($balance);
             $list[$key]['inMyGhsBalance'] = floatval($balance);
+            $list[$key]['ghsSalt'] = $ghsSalt;
 
 
             $list[$key]['lat'] = $ghsInfo[$ghsId]['lat'] ?? '';
             $list[$key]['lat'] = $ghsInfo[$ghsId]['lat'] ?? '';
             $list[$key]['long'] = $ghsInfo[$ghsId]['long'] ?? '';
             $list[$key]['long'] = $ghsInfo[$ghsId]['long'] ?? '';