wip
This commit is contained in:
@@ -356,7 +356,17 @@ class NovaVisaMasterPaymentOrder extends Resource
|
||||
return [
|
||||
MakePaymentNovaVisaMaster::make()
|
||||
->icon('credit-card')
|
||||
->sole(),
|
||||
->sole()
|
||||
->canSee(function ($request) {
|
||||
if (in_array($this->resource->status, [
|
||||
OrderRepo::PENDING,
|
||||
OrderRepo::CANCELLED,
|
||||
])) {
|
||||
return false;
|
||||
}
|
||||
|
||||
return true;
|
||||
}),
|
||||
];
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user