* hra - fix var ref before assignment

* Tax Exemption Category - remove deduction component
This commit is contained in:
Ranjith Kurungadam
2018-06-20 11:10:56 +05:30
committed by Nabin Hait
parent 55a2f4da71
commit 4f9744a56d
2 changed files with 6 additions and 36 deletions

View File

@@ -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