Skip to content

Commit

Permalink
minor fix
Browse files Browse the repository at this point in the history
  • Loading branch information
nabinhait committed Jun 5, 2018
1 parent 03644f2 commit c4eec99
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -78,8 +78,8 @@ frappe.ui.form.on('Employee Tax Exemption Declaration', {
});
},
set_null_value(frm){
let fields = ['salary_structure_hra', 'monthly_house_rent','annual_hra', 'monthly_hra',
'total_exemption_amount', 'payroll_period'];
let fields = ['salary_structure_hra', 'monthly_house_rent','annual_hra_exemption',
'monthly_hra_exemption', 'total_exemption_amount', 'payroll_period'];
fields.forEach(function(field) {
frm.set_value(field, '');
});

0 comments on commit c4eec99

Please sign in to comment.