mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-27 08:54:45 +00:00
fix: prettier
This commit is contained in:
@@ -364,7 +364,10 @@ erpnext.PointOfSale.PastOrderSummary = class {
|
|||||||
];
|
];
|
||||||
|
|
||||||
return [
|
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,
|
condition: !this.doc.is_return && this.doc.docstatus === 1,
|
||||||
visible_btns: [__("Print Receipt"), __("Email Receipt"), __("Return")],
|
visible_btns: [__("Print Receipt"), __("Email Receipt"), __("Return")],
|
||||||
|
|||||||
Reference in New Issue
Block a user