Merge pull request !2150 from 李鹏宇/dev
This commit is contained in:
李鹏宇
2025-03-27 14:58:37 +00:00
committed by Gitee
@@ -189,7 +189,7 @@ class YuthonPayrollInsurances (models.Model):
formula_salary = "result = employee.work_injury_insurance_base * " + str(number)
if ins.name == '住房公积金':
code = 'ZFGJJ'
formula_salary = "result = round((employee.housing_fund_base * 0.12), 2)"
formula_salary = "result = round((employee.housing_fund_base * " + str(number) + "), 0)"
if ins.name == '工会会费':
code = 'GHHF'
formula_salary = "result = round((payslip.base_salary * 0.005), 2)"