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 83c686bf446..d6cbe3bd1c0 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 @@ -364,7 +364,10 @@ erpnext.PointOfSale.PastOrderSummary = class { ]; return [ - { condition: this.doc.docstatus === 0, visible_btns: [__("Edit Order"), __("Delete Order")] }, + { + condition: this.doc.docstatus === 0, + visible_btns: [__("Edit Order"), __("Delete Order")], + }, { condition: !this.doc.is_return && this.doc.docstatus === 1, visible_btns: [__("Print Receipt"), __("Email Receipt"), __("Return")],