|
|
@@ -233,9 +233,9 @@ class GhsClass extends BaseClass
|
|
|
$list[$key]['openStartTime'] = $currentShop['openStartTime'] ?? '';
|
|
|
$list[$key]['openEndTime'] = $currentShop['openEndTime'] ?? '';
|
|
|
|
|
|
- $list[$key]['meetNum'] = $currentShop['meetNum'] ? floatval($currentShop['meetNum']) : 0;
|
|
|
- $list[$key]['meetAmount'] = $currentShop['meetAmount'] ? floatval($currentShop['meetAmount']) : 0;
|
|
|
- $list[$key]['cutAmount'] = $currentShop['cutAmount'] ? floatval($currentShop['cutAmount']) : 0;
|
|
|
+ $list[$key]['meetNum'] = isset($currentShop['meetNum']) ? floatval($currentShop['meetNum']) : 0;
|
|
|
+ $list[$key]['meetAmount'] = isset($currentShop['meetAmount']) ? floatval($currentShop['meetAmount']) : 0;
|
|
|
+ $list[$key]['cutAmount'] = isset($currentShop['cutAmount']) ? floatval($currentShop['cutAmount']) : 0;
|
|
|
|
|
|
$count = PurchaseClass::getCount(['ghsId' => $val['id'], 'debt' => PurchaseClass::DEBT_YES]);
|
|
|
$list[$key]['debtNum'] = $count;
|