mirror of
https://github.com/frappe/erpnext.git
synced 2026-02-13 17:53:49 +00:00
fix: loading print receipt only at order complete (#45627)
(cherry picked from commit 5a1851dfe3)
Co-authored-by: Diptanil Saha <diptanil@frappe.io>
This commit is contained in:
@@ -357,7 +357,9 @@ erpnext.PointOfSale.PastOrderSummary = class {
|
||||
|
||||
this.add_summary_btns(condition_btns_map);
|
||||
|
||||
this.print_receipt_on_order_complete();
|
||||
if (after_submission) {
|
||||
this.print_receipt_on_order_complete();
|
||||
}
|
||||
}
|
||||
|
||||
attach_document_info(doc) {
|
||||
|
||||
Reference in New Issue
Block a user