fix: linter

(cherry picked from commit 4a6b5b9993)
This commit is contained in:
mahsem
2025-05-21 12:54:25 +02:00
committed by Mergify
parent 01b0d1057e
commit c44493fd7e

View File

@@ -321,7 +321,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")] },