|
|
@@ -3618,6 +3618,7 @@ class BonusCalc extends BaseObject {
|
|
|
$bonus['BONUS_TOTAL'] = $bonus['BONUS_TOTAL'] - $blueBonusGL - $blueBonusYJ;
|
|
|
// 共享奖最后一起算,所以总原奖金中,需要加上整个月的数据
|
|
|
$bonus['BONUS_TOTAL'] = $bonus['BONUS_TOTAL'] + $oriGxMonthBonus;
|
|
|
+ $empLv = $userBS['LEVEL_ID'] ?? $empLv;
|
|
|
} else {
|
|
|
// 蓝星奖原奖金在扣管理费的时候被加入到了BONUS_TOTAL,需要再减去原奖金
|
|
|
$oriBonusBs = isset($bonus['ORI_BONUS_BS']) && $bonus['ORI_BONUS_BS'] > 0 ? $bonus['ORI_BONUS_BS'] : 0;
|
|
|
@@ -3625,6 +3626,7 @@ class BonusCalc extends BaseObject {
|
|
|
$oriBonusBsYJCF = isset($bonus['ORI_BONUS_ABBR']) && $bonus['ORI_BONUS_ABBR'] > 0 ? $bonus['ORI_BONUS_ABBR'] : 0;
|
|
|
$oriBonusBsGLCF = isset($bonus['ORI_BONUS_MNT']) && $bonus['ORI_BONUS_MNT'] > 0 ? $bonus['ORI_BONUS_MNT'] : 0;
|
|
|
$bonus['BONUS_TOTAL'] = $bonus['BONUS_TOTAL'] - $oriBonusBs - $oriBonusBsYJCF - $oriBonusBsGLCF;
|
|
|
+ $empLv = EmployLevel::getDefaultLevelId();
|
|
|
}
|
|
|
}
|
|
|
|