mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-02 03:39:11 +00:00
fix: add Not Cancelled filter for payment_entry in Bank Transaction
This commit is contained in:
@@ -19,6 +19,14 @@ frappe.ui.form.on("Bank Transaction", {
|
|||||||
},
|
},
|
||||||
};
|
};
|
||||||
});
|
});
|
||||||
|
|
||||||
|
frm.set_query("payment_entry", "payment_entries", function () {
|
||||||
|
return {
|
||||||
|
filters: {
|
||||||
|
docstatus: ["!=", 2],
|
||||||
|
},
|
||||||
|
};
|
||||||
|
});
|
||||||
},
|
},
|
||||||
|
|
||||||
refresh(frm) {
|
refresh(frm) {
|
||||||
|
|||||||
Reference in New Issue
Block a user