mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-31 10:49:09 +00:00
HRA fix (#14589)
* hra - fix var ref before assignment * Tax Exemption Category - remove deduction component
This commit is contained in:
committed by
Nabin Hait
parent
55a2f4da71
commit
4f9744a56d
@@ -192,6 +192,6 @@ def calculate_hra_exemption_for_period(doc):
|
||||
if exemptions["monthly_exemption"]:
|
||||
# calc total exemption amount
|
||||
eligible_hra = exemptions["monthly_exemption"] * factor
|
||||
exemptions["monthly_house_rent"] = monthly_rent
|
||||
exemptions["total_eligible_hra_exemption"] = eligible_hra
|
||||
return exemptions
|
||||
exemptions["monthly_house_rent"] = monthly_rent
|
||||
exemptions["total_eligible_hra_exemption"] = eligible_hra
|
||||
return exemptions
|
||||
|
||||
Reference in New Issue
Block a user