WIP
This commit is contained in:
1 parent
c9a0021bc3
commit
97b6561ad3
1 file changed
+3
-4
@@ -382,13 +382,12 @@ public function actions(NovaRequest $request): array
|
||||
$order = $this->resource;
|
||||
|
||||
if (in_array($order->status, [
|
||||
OrderRepo::PENDING,
|
||||
OrderRepo::CANCELLED,
|
||||
OrderRepo::COMPLETED,
|
||||
])) {
|
||||
return false;
|
||||
return true;
|
||||
}
|
||||
|
||||
return true;
|
||||
return false;
|
||||
}),
|
||||
];
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user