diff --git a/erpnext/selling/page/point_of_sale/pos_past_order_summary.js b/erpnext/selling/page/point_of_sale/pos_past_order_summary.js index df44fdb04e8..d4b5562c218 100644 --- a/erpnext/selling/page/point_of_sale/pos_past_order_summary.js +++ b/erpnext/selling/page/point_of_sale/pos_past_order_summary.js @@ -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) {