This commit is contained in:
Mekan1206 committed 2026-05-06 13:35:10 +05:00
1 parent c9a0021bc3
commit 97b6561ad3
1 file changed
+3 -4
@@ -382,13 +382,12 @@ public function actions(NovaRequest $request): array
$order = $this->resource; $order = $this->resource;
if (in_array($order->status, [ if (in_array($order->status, [
OrderRepo::PENDING, OrderRepo::COMPLETED,
OrderRepo::CANCELLED,
])) { ])) {
return false; return true;
} }
return true; return false;
}), }),
]; ];
} }