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