Browse Source

fix: filter out Claimed employee advances in Expense Claim (#29046)

develop
Rucha Mahabal 3 years ago
committed by GitHub
parent
commit
25f4de80b3
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      erpnext/hr/doctype/expense_claim/expense_claim.js

2
erpnext/hr/doctype/expense_claim/expense_claim.js

@ -171,7 +171,7 @@ frappe.ui.form.on("Expense Claim", {
['docstatus', '=', 1],
['employee', '=', frm.doc.employee],
['paid_amount', '>', 0],
['paid_amount', '>', 'claimed_amount']
['status', '!=', 'Claimed']
]
};
});

Loading…
Cancel
Save