|
|
@@ -665,12 +665,18 @@ class BonusController extends BaseController {
|
|
|
if ($flowBonusSwitch) {
|
|
|
if ($sysConfig['openTG']['VALUE']) {
|
|
|
$calcBonus['BONUS_TG'] = ['name' => '销售奖金', 'value' => Tool::formatPrice($calcBonus['ORI_BONUS_TG'])];
|
|
|
+ } else {
|
|
|
+ $calcBonus['BONUS_TG'] = ['name' => '销售奖金', 'value' => 0.00];
|
|
|
}
|
|
|
if ($sysConfig['openQY']['VALUE']) {
|
|
|
$calcBonus['ORI_BONUS_QY'] = ['name' => '业绩奖金', 'value' => Tool::formatPrice($calcBonus['ORI_BONUS_QY'])];
|
|
|
+ } else {
|
|
|
+ $calcBonus['ORI_BONUS_QY'] = ['name' => '业绩奖金', 'value' => 0.00];
|
|
|
}
|
|
|
if ($sysConfig['openFW']['VALUE']) {
|
|
|
$calcBonus['BONUS_BD'] = ['name' => '服务奖金', 'value' => Tool::formatPrice($calcBonus['ORI_BONUS_BD'])];
|
|
|
+ } else {
|
|
|
+ $calcBonus['BONUS_BD'] = ['name' => '服务奖金', 'value' => 0.00];
|
|
|
}
|
|
|
|
|
|
$calcBonus['ORI_BONUS_BS'] = ['name' => '蓝星奖', 'value' => Tool::formatPrice($calcBonus['ORI_BONUS_BS'])];
|