fix: linter

This commit is contained in:
mahsem
2025-05-21 12:54:25 +02:00
committed by GitHub
parent ce45d1664d
commit 4a6b5b9993

View File

@@ -356,7 +356,12 @@ erpnext.PointOfSale.PastOrderSummary = class {
get_condition_btn_map(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 [
{ condition: this.doc.docstatus === 0, visible_btns: [__("Edit Order"), __("Delete Order")] },