Skip to content

Commit

Permalink
debug: test
Browse files Browse the repository at this point in the history
  • Loading branch information
ruchamahabal committed Jan 4, 2024
1 parent 4b21fb5 commit 21e62b1
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion hrms/regional/india/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,8 @@ def calculate_annual_eligible_hra_exemption(doc):
frequency = frappe.get_value(
"Salary Structure", assignment.salary_structure, "payroll_frequency"
)

print("---assignments---------", basic_salary_amt, hra_salary_amt, frequency, assignment.from_date, to_date)
basic_amount += get_component_pay(frequency, basic_salary_amt, assignment.from_date, to_date)
hra_amount += get_component_pay(frequency, hra_salary_amt, assignment.from_date, to_date)

Expand All @@ -64,7 +66,7 @@ def calculate_annual_eligible_hra_exemption(doc):
annual_exemption = 0


print("------------", hra_amount, annual_exemption, monthly_exemption)
print("------------", basic_amount, hra_amount, annual_exemption, monthly_exemption)

return frappe._dict(
{
Expand Down

0 comments on commit 21e62b1

Please sign in to comment.