diff --git a/erpnext/hr/doctype/salary_slip/salary_slip.js b/erpnext/hr/doctype/salary_slip/salary_slip.js index cec53563a6..afb7f1a287 100644 --- a/erpnext/hr/doctype/salary_slip/salary_slip.js +++ b/erpnext/hr/doctype/salary_slip/salary_slip.js @@ -126,7 +126,6 @@ var get_emp_and_leave_details = function(doc, dt, dn) { } cur_frm.cscript.employee = function(doc,dt,dn){ - doc.salary_structure = '' get_emp_and_leave_details(doc, dt, dn); } @@ -249,4 +248,4 @@ var total_work_hours = function(frm, dt, dn) { frm.refresh_field('gross_pay'); calculate_net_pay(frm.doc, dt, dn); }); -} \ No newline at end of file +}