Codacy fix

This commit is contained in:
Jamsheer 2018-05-18 15:27:48 +05:30
parent 0493c22f3c
commit 1248f6a752
2 changed files with 3 additions and 3 deletions

View File

@ -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) {

View File

@ -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);
}
};