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 ed1abc97b51..c346f7dc257 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 @@ -321,7 +321,12 @@ erpnext.PointOfSale.PastOrderSummary = class { get_condition_btn_map(after_submission) { if (after_submission) - return [{ condition: true, visible_btns: [__("Print Receipt"), __("Email Receipt"), __("New Order")] }]; + return [ + { + condition: true, + visible_btns: [__("Print Receipt"), __("Email Receipt"), __("New Order")] + }, + ]; return [ { condition: this.doc.docstatus === 0, visible_btns: [__("Edit Order"), __("Delete Order")] },