fix: POS payment modes displayed wrong total (#26708)
This commit is contained in:
parent
3a50490c04
commit
035ce304fe
@ -198,6 +198,7 @@ erpnext.PointOfSale.Payment = class {
|
|||||||
const is_cash_shortcuts_invisible = !this.$payment_modes.find('.cash-shortcuts').is(':visible');
|
const is_cash_shortcuts_invisible = !this.$payment_modes.find('.cash-shortcuts').is(':visible');
|
||||||
this.attach_cash_shortcuts(frm.doc);
|
this.attach_cash_shortcuts(frm.doc);
|
||||||
!is_cash_shortcuts_invisible && this.$payment_modes.find('.cash-shortcuts').css('display', 'grid');
|
!is_cash_shortcuts_invisible && this.$payment_modes.find('.cash-shortcuts').css('display', 'grid');
|
||||||
|
this.render_payment_mode_dom();
|
||||||
});
|
});
|
||||||
|
|
||||||
frappe.ui.form.on('POS Invoice', 'loyalty_amount', (frm) => {
|
frappe.ui.form.on('POS Invoice', 'loyalty_amount', (frm) => {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user