mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-19 04:59:18 +00:00
[Fix] New invoice showing old paid amount if POS Profile is not created (#11160)
This commit is contained in:
committed by
Makarand Bauskar
parent
496174bbdf
commit
8bf7230fcc
@@ -103,9 +103,7 @@ erpnext.pos.PointOfSale = class PointOfSale {
|
|||||||
this.make_payment_modal();
|
this.make_payment_modal();
|
||||||
} else {
|
} else {
|
||||||
this.frm.doc.payments.map(p => {
|
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();
|
this.payment.set_title();
|
||||||
|
|||||||
Reference in New Issue
Block a user