|
@@ -230,9 +230,9 @@ class StatKdClass extends BaseClass
|
|
|
$incomeList['kfWx']['category']['ls']['amount'] = bcadd($incomeList['kfWx']['category']['ls']['amount'], $actPrice, 2);
|
|
$incomeList['kfWx']['category']['ls']['amount'] = bcadd($incomeList['kfWx']['category']['ls']['amount'], $actPrice, 2);
|
|
|
$incomeList['kfWx']['category']['ls']['num'] = bcadd($incomeList['kfWx']['category']['ls']['num'], 1);
|
|
$incomeList['kfWx']['category']['ls']['num'] = bcadd($incomeList['kfWx']['category']['ls']['num'], 1);
|
|
|
//客1 客2 客3各收了多少钱
|
|
//客1 客2 客3各收了多少钱
|
|
|
- if (isset($incomeList['kfWx']['num']['class'][$shopAdminId])) {
|
|
|
|
|
- $incomeList['kfWx']['class'][$shopAdminId]['amount'] = bcadd($incomeList['kfWx']['num']['category'][$shopAdminId]['amount'], $actPrice, 2);
|
|
|
|
|
- $incomeList['kfWx']['class'][$shopAdminId]['num'] = bcadd($incomeList['kfWx']['num']['category'][$shopAdminId]['num'], 1);
|
|
|
|
|
|
|
+ if (isset($incomeList['kfWx']['class'][$shopAdminId])) {
|
|
|
|
|
+ $incomeList['kfWx']['class'][$shopAdminId]['amount'] = bcadd($incomeList['kfWx']['category'][$shopAdminId]['amount'], $actPrice, 2);
|
|
|
|
|
+ $incomeList['kfWx']['class'][$shopAdminId]['num'] = bcadd($incomeList['kfWx']['category'][$shopAdminId]['num'], 1);
|
|
|
}
|
|
}
|
|
|
break;
|
|
break;
|
|
|
case dict::getDict('payWay', 'alipay'):
|
|
case dict::getDict('payWay', 'alipay'):
|