mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-08 15:42:52 +00:00
fix: filter for payment order (#19070)
This commit is contained in:
committed by
Nabin Hait
parent
7e8e4783a1
commit
dce04b7335
@@ -66,10 +66,10 @@ frappe.ui.form.on('Payment Order', {
|
|||||||
get_query_filters: {
|
get_query_filters: {
|
||||||
bank: frm.doc.bank,
|
bank: frm.doc.bank,
|
||||||
docstatus: 1,
|
docstatus: 1,
|
||||||
payment_type: ("!=", "Receive"),
|
payment_type: ["!=", "Receive"],
|
||||||
bank_account: frm.doc.company_bank_account,
|
bank_account: frm.doc.company_bank_account,
|
||||||
paid_from: frm.doc.account,
|
paid_from: frm.doc.account,
|
||||||
payment_order_status: ["=", "Initiated"],
|
payment_order_status: ["=", "Initiated"]
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user