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