wip
This commit is contained in:
1 parent
36db0641bd
commit
f73ca499f9
3 files changed
+3
-3
No files matched your search
+1
@@ -16,6 +16,7 @@ trait NovaVisaMasterPaymentOrderItemAuth
|
||||
public function authorizedToView(Request $request): bool
|
||||
{
|
||||
return true;
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
@@ -7,7 +7,6 @@
|
||||
use App\Modules\VisaMasterPaymentOrder\Nova\Resources\Concerns\VisaMasterAuth;
|
||||
use App\Modules\VisaMasterPaymentOrder\Nova\Resources\Concerns\VisaMasterPaymentOrderFieldsForDetail;
|
||||
use App\Modules\VisaMasterPaymentOrder\Nova\Resources\Concerns\VisaMasterPaymentOrderFieldsForIndex;
|
||||
use App\Nova\Actions\CheckOnlinePayment;
|
||||
use App\Nova\Actions\MakePaymentNovaVisaMaster;
|
||||
use App\Nova\Resource;
|
||||
use App\Repos\Order\Card\CardOrderRepo;
|
||||
@@ -355,7 +354,6 @@ public function fields(NovaRequest $request): array
|
||||
public function actions(NovaRequest $request): array
|
||||
{
|
||||
return [
|
||||
CheckOnlinePayment::make(),
|
||||
MakePaymentNovaVisaMaster::make()
|
||||
->icon('credit-card')
|
||||
->sole(),
|
||||
|
||||
+2
-1
@@ -123,7 +123,8 @@ public function actions(NovaRequest $request): array
|
||||
return [
|
||||
Action::using('HALKBANK töleg barla', function (ActionFields $fields, Collection $models) {
|
||||
info('yes');
|
||||
})->canSee(fn () => true),
|
||||
})->icon('rss')
|
||||
->sole(),
|
||||
];
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user