mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-04 05:58:27 +00:00
@@ -329,7 +329,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