diff --git a/hr/search_criteria/monthly_salary_register/monthly_salary_register.py b/hr/search_criteria/monthly_salary_register/monthly_salary_register.py index 5171aa45d5..2291b6682d 100644 --- a/hr/search_criteria/monthly_salary_register/monthly_salary_register.py +++ b/hr/search_criteria/monthly_salary_register/monthly_salary_register.py @@ -38,8 +38,8 @@ for d in li: for r in res: - total_lwp += r[col_idx['Leave Without Pay']] - total_arr += r[col_idx['Arrear Amount']] + total_lwp += flt(r[col_idx['Leave Without Pay']]) + total_arr += flt(r[col_idx['Arrear Amount']]) for d1 in li: d2 = '%s'%d1