From aaacac26d60019b893c1c22fc952b5fa8789d78f Mon Sep 17 00:00:00 2001 From: Nurmuhammet Allanov Date: Fri, 13 Mar 2026 14:49:03 +0500 Subject: [PATCH] wip --- .../Resources/Warnings/IgnoreSberPayment.php | 96 ------------------- .../Resources/Warnings/IgnoreVisaPayment.php | 96 ------------------- 2 files changed, 192 deletions(-) delete mode 100644 app/Nova/Resources/Warnings/IgnoreSberPayment.php delete mode 100644 app/Nova/Resources/Warnings/IgnoreVisaPayment.php diff --git a/app/Nova/Resources/Warnings/IgnoreSberPayment.php b/app/Nova/Resources/Warnings/IgnoreSberPayment.php deleted file mode 100644 index 13d3cb9..0000000 --- a/app/Nova/Resources/Warnings/IgnoreSberPayment.php +++ /dev/null @@ -1,96 +0,0 @@ - - */ - public static $model = \App\Models\Resources\Warnings\IgnoreSberPayment::class; - - /** - * The single value that should be used to represent the resource when being displayed. - * - * @var string - */ - public static $title = 'id'; - - /** - * The columns that should be searched. - * - * @var array - */ - public static $search = [ - 'id', - ]; - - /** - * Get the fields displayed by the resource. - * - * @param \Laravel\Nova\Http\Requests\NovaRequest $request - * @return array - */ - public function fields(NovaRequest $request) - { - return [ - ID::make()->sortable(), - - Text::make('message'), - Number::make('payment_id'), - ]; - } - - /** - * Get the cards available for the request. - * - * @param \Laravel\Nova\Http\Requests\NovaRequest $request - * @return array - */ - public function cards(NovaRequest $request) - { - return []; - } - - /** - * Get the filters available for the resource. - * - * @param \Laravel\Nova\Http\Requests\NovaRequest $request - * @return array - */ - public function filters(NovaRequest $request) - { - return []; - } - - /** - * Get the lenses available for the resource. - * - * @param \Laravel\Nova\Http\Requests\NovaRequest $request - * @return array - */ - public function lenses(NovaRequest $request) - { - return []; - } - - /** - * Get the actions available for the resource. - * - * @param \Laravel\Nova\Http\Requests\NovaRequest $request - * @return array - */ - public function actions(NovaRequest $request) - { - return []; - } -} diff --git a/app/Nova/Resources/Warnings/IgnoreVisaPayment.php b/app/Nova/Resources/Warnings/IgnoreVisaPayment.php deleted file mode 100644 index 76eb0ae..0000000 --- a/app/Nova/Resources/Warnings/IgnoreVisaPayment.php +++ /dev/null @@ -1,96 +0,0 @@ - - */ - public static $model = \App\Models\Resources\Warnings\IgnoreVisaPayment::class; - - /** - * The single value that should be used to represent the resource when being displayed. - * - * @var string - */ - public static $title = 'id'; - - /** - * The columns that should be searched. - * - * @var array - */ - public static $search = [ - 'id', - ]; - - /** - * Get the fields displayed by the resource. - * - * @param \Laravel\Nova\Http\Requests\NovaRequest $request - * @return array - */ - public function fields(NovaRequest $request) - { - return [ - ID::make()->sortable(), - - Text::make('message'), - Number::make('payment_id'), - ]; - } - - /** - * Get the cards available for the request. - * - * @param \Laravel\Nova\Http\Requests\NovaRequest $request - * @return array - */ - public function cards(NovaRequest $request) - { - return []; - } - - /** - * Get the filters available for the resource. - * - * @param \Laravel\Nova\Http\Requests\NovaRequest $request - * @return array - */ - public function filters(NovaRequest $request) - { - return []; - } - - /** - * Get the lenses available for the resource. - * - * @param \Laravel\Nova\Http\Requests\NovaRequest $request - * @return array - */ - public function lenses(NovaRequest $request) - { - return []; - } - - /** - * Get the actions available for the resource. - * - * @param \Laravel\Nova\Http\Requests\NovaRequest $request - * @return array - */ - public function actions(NovaRequest $request) - { - return []; - } -}