mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-26 08:24:47 +00:00
fix(payment-request): only consider paid transactions
This commit is contained in:
@@ -21,6 +21,7 @@ frappe.ui.form.on('Mpesa Settings', {
|
||||
},
|
||||
|
||||
setup_account_balance_html: function(frm) {
|
||||
if (!frm.doc.account_balance) return;
|
||||
$("div").remove(".form-dashboard-section.custom");
|
||||
frm.dashboard.add_section(
|
||||
frappe.render_template('account_balance', {
|
||||
|
||||
Reference in New Issue
Block a user