作者 何书鹏
1 个管道 的构建 通过 耗费 2 秒

饼图个人税后月薪

... ... @@ -455,7 +455,7 @@ class BeforeToAfter extends Api
// 五险一金汇缴明细-单位合计
$social_company_money = round(array_sum(array_map(function($val){return $val['money'];}, $social_company)),2);
// 税前工资去向
$new_current_salary = $plan_a['new_current_salary'] - ($annual_bonus - $plan_a['annual_bonus_fee']) / 12; //饼图个人税后月薪
$new_current_salary = $salary-($social_user['housing_fund']['money']+$social_user['endowment']['money']+$social_user['medical']['money']+$social_user['unemployment']['money']+$plan_a['new_person_current_fee']); //饼图个人税后月薪
$user_go = [
'salary' => round($salary,2),
'zh' => [
... ...