shish 1 rok temu
rodzic
commit
8fb9cf365b
1 zmienionych plików z 2 dodań i 0 usunięć
  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;
             $debtAmount = $ghsInfo[$ghsId]['debtAmount'] ?? 0;
+            $ghsSalt = $ghsInfo[$ghsId]['salt'] ?? '';
             $remainDebtAmount = bcsub($debtAmount, $balance, 2);
             $list[$key]['remainDebtAmount'] = floatval($remainDebtAmount);
             $list[$key]['inMyGhsBalance'] = floatval($balance);
+            $list[$key]['ghsSalt'] = $ghsSalt;
 
             $list[$key]['lat'] = $ghsInfo[$ghsId]['lat'] ?? '';
             $list[$key]['long'] = $ghsInfo[$ghsId]['long'] ?? '';