minor fix

This commit is contained in:
Nabin Hait 2018-06-05 09:06:12 +05:30
parent 03644f2a9d
commit c4eec99bc4

View File

@ -78,8 +78,8 @@ frappe.ui.form.on('Employee Tax Exemption Declaration', {
}); });
}, },
set_null_value(frm){ set_null_value(frm){
let fields = ['salary_structure_hra', 'monthly_house_rent','annual_hra', 'monthly_hra', let fields = ['salary_structure_hra', 'monthly_house_rent','annual_hra_exemption',
'total_exemption_amount', 'payroll_period']; 'monthly_hra_exemption', 'total_exemption_amount', 'payroll_period'];
fields.forEach(function(field) { fields.forEach(function(field) {
frm.set_value(field, ''); frm.set_value(field, '');
}); });