attendSalary2

This commit is contained in:
jiangyong27 2024-04-02 12:44:04 +08:00
parent 5719239899
commit 82cd3ee2f4
1 changed files with 1 additions and 0 deletions

View File

@ -195,6 +195,7 @@ func (s *StaffSalary) Summary(month string, ctx *gin.Context) {
summary.SocialInsurence += staff.SocialInsurence
summary.PersonalTax += staff.PersonalTax
summary.Holiday += staff.Holiday
summary.RealSalary += staff.RealSalary
}
summary.Holiday = butil.FloatCut(summary.Holiday)
summary.BaseSalary = butil.FloatCut(summary.BaseSalary)