fix - HRA India (#14911)

This commit is contained in:
Ranjith Kurungadam 2018-07-16 16:12:46 +05:30 committed by Nabin Hait
parent ffd2254944
commit 14e94f824e

View File

@ -142,6 +142,7 @@ def get_component_amt_from_salary_slip(employee, salary_structure, basic_compone
hra_amt = earning.amount
if basic_amt and hra_amt:
return basic_amt, hra_amt
return basic_amt, hra_amt
def calculate_hra_exemption(salary_structure, basic, monthly_hra, monthly_house_rent, rented_in_metro_city):
# TODO make this configurable