[Fix] New invoice showing old paid amount if POS Profile is not created (#11160)
This commit is contained in:
parent
496174bbdf
commit
8bf7230fcc
@ -103,9 +103,7 @@ erpnext.pos.PointOfSale = class PointOfSale {
|
||||
this.make_payment_modal();
|
||||
} else {
|
||||
this.frm.doc.payments.map(p => {
|
||||
if (p.amount) {
|
||||
this.payment.dialog.set_value(p.mode_of_payment, p.amount);
|
||||
}
|
||||
this.payment.dialog.set_value(p.mode_of_payment, p.amount);
|
||||
});
|
||||
|
||||
this.payment.set_title();
|
||||
|
Loading…
x
Reference in New Issue
Block a user