mirror of
https://github.com/frappe/erpnext.git
synced 2026-03-29 09:01:14 +02:00
@@ -321,7 +321,12 @@ erpnext.PointOfSale.PastOrderSummary = class {
|
|||||||
|
|
||||||
get_condition_btn_map(after_submission) {
|
get_condition_btn_map(after_submission) {
|
||||||
if (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 [
|
return [
|
||||||
{ condition: this.doc.docstatus === 0, visible_btns: [__("Edit Order"), __("Delete Order")] },
|
{ condition: this.doc.docstatus === 0, visible_btns: [__("Edit Order"), __("Delete Order")] },
|
||||||
|
|||||||
Reference in New Issue
Block a user