Codacy fix
This commit is contained in:
parent
0493c22f3c
commit
1248f6a752
@ -5,9 +5,9 @@ frappe.ui.form.on('Employee Benefit Claim', {
|
||||
setup: function(frm) {
|
||||
frm.set_query("earning_component", function() {
|
||||
return {
|
||||
query : "erpnext.hr.doctype.employee_benefit_claim.employee_benefit_claim.get_earning_components_for_claim",
|
||||
query : "erpnext.hr.doctype.employee_benefit_claim.employee_benefit_claim.get_earning_components_for_claim",
|
||||
filters: {claim_date: frm.doc.claim_date, employee: frm.doc.employee}
|
||||
};
|
||||
};
|
||||
});
|
||||
},
|
||||
employee: function(frm) {
|
||||
|
@ -50,4 +50,4 @@ var set_value_for_condition_and_formula = function(frm) {
|
||||
frm.set_value("statistical_component", 0);
|
||||
frm.set_value("do_not_include_in_total", 0);
|
||||
frm.set_value("depends_on_lwp", 0);
|
||||
}
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user