mirror of
https://github.com/frappe/erpnext.git
synced 2026-03-02 10:04:40 +00:00
fix: prettier
This commit is contained in:
@@ -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")],
|
||||
|
||||
Reference in New Issue
Block a user