|
@@ -162,14 +162,14 @@ class StatKdClass extends BaseClass
|
|
|
$onlinePay = $ghsOrder['onlinePay'] ?? dict::getDict('onlinePay', 'not');
|
|
$onlinePay = $ghsOrder['onlinePay'] ?? dict::getDict('onlinePay', 'not');
|
|
|
if ($debtPrice > 0) {
|
|
if ($debtPrice > 0) {
|
|
|
if ($remainDebtPrice > 0) {
|
|
if ($remainDebtPrice > 0) {
|
|
|
- $incomeList['debt']['amount'] = bcadd($incomeList['debt']['amount'], $debtPrice, 2);
|
|
|
|
|
|
|
+ $incomeList['debt']['amount'] = bcadd($incomeList['debt']['amount'], $actPrice, 2);
|
|
|
$incomeList['debt']['num'] = bcadd($incomeList['debt']['num'], 1);
|
|
$incomeList['debt']['num'] = bcadd($incomeList['debt']['num'], 1);
|
|
|
- $incomeList['debt']['category']['pf']['amount'] = bcadd($incomeList['debt']['category']['pf']['amount'], $debtPrice, 2);
|
|
|
|
|
|
|
+ $incomeList['debt']['category']['pf']['amount'] = bcadd($incomeList['debt']['category']['pf']['amount'], $actPrice, 2);
|
|
|
$incomeList['debt']['category']['pf']['num'] = bcadd($incomeList['debt']['category']['pf']['num'], 1);
|
|
$incomeList['debt']['category']['pf']['num'] = bcadd($incomeList['debt']['category']['pf']['num'], 1);
|
|
|
} else {
|
|
} else {
|
|
|
- $incomeList['debtClear']['amount'] = bcadd($incomeList['debtClear']['amount'], $debtPrice, 2);
|
|
|
|
|
|
|
+ $incomeList['debtClear']['amount'] = bcadd($incomeList['debtClear']['amount'], $actPrice, 2);
|
|
|
$incomeList['debtClear']['num'] = bcadd($incomeList['debtClear']['num'], 1);
|
|
$incomeList['debtClear']['num'] = bcadd($incomeList['debtClear']['num'], 1);
|
|
|
- $incomeList['debtClear']['category']['pf']['amount'] = bcadd($incomeList['debtClear']['category']['pf']['amount'], $debtPrice, 2);
|
|
|
|
|
|
|
+ $incomeList['debtClear']['category']['pf']['amount'] = bcadd($incomeList['debtClear']['category']['pf']['amount'], $actPrice, 2);
|
|
|
$incomeList['debtClear']['category']['pf']['num'] = bcadd($incomeList['debtClear']['category']['pf']['num'], 1);
|
|
$incomeList['debtClear']['category']['pf']['num'] = bcadd($incomeList['debtClear']['category']['pf']['num'], 1);
|
|
|
}
|
|
}
|
|
|
} else {
|
|
} else {
|
|
@@ -468,8 +468,6 @@ class StatKdClass extends BaseClass
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
- Yii::info(' 收入:' . json_encode($incomeList));
|
|
|
|
|
-
|
|
|
|
|
return $incomeList;
|
|
return $incomeList;
|
|
|
|
|
|
|
|
}
|
|
}
|