From 31eb22c3c29aa90e6b583f245e8044570baacbf3 Mon Sep 17 00:00:00 2001 From: Russ Long Date: Sun, 7 Aug 2022 13:07:31 -0400 Subject: [PATCH] Item grouping --- app/Filament/Resources/BiddersResource.php | 2 ++ app/Filament/Resources/CarShowCategoryResource.php | 2 ++ app/Filament/Resources/CarShowWinnerResource.php | 5 ++--- app/Filament/Resources/CheckoutResource.php | 2 ++ app/Filament/Resources/ItemsResource.php | 2 ++ app/Filament/Resources/JudgesResource.php | 2 ++ app/Filament/Resources/PaymentMethodsResource.php | 2 ++ app/Filament/Resources/PeoplesChoiceResource.php | 2 ++ app/Filament/Resources/VehicleScoresResource.php | 2 ++ app/Filament/Resources/VehiclesResource.php | 2 ++ app/Filament/Resources/WinningBidsResource.php | 2 ++ 11 files changed, 22 insertions(+), 3 deletions(-) diff --git a/app/Filament/Resources/BiddersResource.php b/app/Filament/Resources/BiddersResource.php index f569466..ab89b3c 100644 --- a/app/Filament/Resources/BiddersResource.php +++ b/app/Filament/Resources/BiddersResource.php @@ -21,6 +21,8 @@ class BiddersResource extends Resource protected static ?string $navigationIcon = 'heroicon-o-collection'; + protected static ?string $navigationGroup = 'Silent Auction'; + public static function form(Form $form): Form { return $form diff --git a/app/Filament/Resources/CarShowCategoryResource.php b/app/Filament/Resources/CarShowCategoryResource.php index ca84b6c..de65084 100644 --- a/app/Filament/Resources/CarShowCategoryResource.php +++ b/app/Filament/Resources/CarShowCategoryResource.php @@ -24,6 +24,8 @@ class CarShowCategoryResource extends Resource protected static ?string $navigationIcon = 'heroicon-o-collection'; + protected static ?string $navigationGroup = 'Car Show'; + public static function form(Form $form): Form { return $form diff --git a/app/Filament/Resources/CarShowWinnerResource.php b/app/Filament/Resources/CarShowWinnerResource.php index a6e10bf..2f6167f 100644 --- a/app/Filament/Resources/CarShowWinnerResource.php +++ b/app/Filament/Resources/CarShowWinnerResource.php @@ -12,10 +12,7 @@ use Filament\Resources\Table; use Filament\Tables; use Illuminate\Database\Eloquent\Builder; use Illuminate\Database\Eloquent\SoftDeletingScope; -use Filament\Tables\Columns\BooleanColumn; use Filament\Tables\Columns\TextColumn; -use Filament\Forms\Components\TextInput; -use Filament\Forms\Components\Toggle; use Filament\Forms\Components\Select; use App\Models\Vehicles; use App\Models\CarShowCategory; @@ -26,6 +23,8 @@ class CarShowWinnerResource extends Resource protected static ?string $navigationIcon = 'heroicon-o-collection'; + protected static ?string $navigationGroup = 'Car Show'; + public static function form(Form $form): Form { return $form diff --git a/app/Filament/Resources/CheckoutResource.php b/app/Filament/Resources/CheckoutResource.php index 3d8a497..9653133 100644 --- a/app/Filament/Resources/CheckoutResource.php +++ b/app/Filament/Resources/CheckoutResource.php @@ -23,6 +23,8 @@ class CheckoutResource extends Resource protected static ?string $navigationIcon = 'heroicon-o-collection'; + protected static ?string $navigationGroup = 'Silent Auction'; + public static function form(Form $form): Form { return $form diff --git a/app/Filament/Resources/ItemsResource.php b/app/Filament/Resources/ItemsResource.php index f193407..51b1e39 100644 --- a/app/Filament/Resources/ItemsResource.php +++ b/app/Filament/Resources/ItemsResource.php @@ -23,6 +23,8 @@ class ItemsResource extends Resource protected static ?string $navigationIcon = 'heroicon-o-collection'; + protected static ?string $navigationGroup = 'Silent Auction'; + public static function form(Form $form): Form { return $form diff --git a/app/Filament/Resources/JudgesResource.php b/app/Filament/Resources/JudgesResource.php index c5d26a8..2866132 100644 --- a/app/Filament/Resources/JudgesResource.php +++ b/app/Filament/Resources/JudgesResource.php @@ -21,6 +21,8 @@ class JudgesResource extends Resource protected static ?string $navigationIcon = 'heroicon-o-collection'; + protected static ?string $navigationGroup = 'Car Show'; + public static function form(Form $form): Form { return $form diff --git a/app/Filament/Resources/PaymentMethodsResource.php b/app/Filament/Resources/PaymentMethodsResource.php index f8fc6ee..517e7b6 100644 --- a/app/Filament/Resources/PaymentMethodsResource.php +++ b/app/Filament/Resources/PaymentMethodsResource.php @@ -21,6 +21,8 @@ class PaymentMethodsResource extends Resource protected static ?string $navigationIcon = 'heroicon-o-collection'; + protected static ?string $navigationGroup = 'Silent Auction'; + public static function form(Form $form): Form { return $form diff --git a/app/Filament/Resources/PeoplesChoiceResource.php b/app/Filament/Resources/PeoplesChoiceResource.php index e579bdc..b1f29b5 100644 --- a/app/Filament/Resources/PeoplesChoiceResource.php +++ b/app/Filament/Resources/PeoplesChoiceResource.php @@ -23,6 +23,8 @@ class PeoplesChoiceResource extends Resource protected static ?string $navigationIcon = 'heroicon-o-collection'; + protected static ?string $navigationGroup = 'Car Show'; + public static function form(Form $form): Form { return $form diff --git a/app/Filament/Resources/VehicleScoresResource.php b/app/Filament/Resources/VehicleScoresResource.php index 6c94f05..d94863d 100644 --- a/app/Filament/Resources/VehicleScoresResource.php +++ b/app/Filament/Resources/VehicleScoresResource.php @@ -23,6 +23,8 @@ class VehicleScoresResource extends Resource protected static ?string $navigationIcon = 'heroicon-o-collection'; + protected static ?string $navigationGroup = 'Car Show'; + public static function form(Form $form): Form { return $form diff --git a/app/Filament/Resources/VehiclesResource.php b/app/Filament/Resources/VehiclesResource.php index fe4993d..d117326 100644 --- a/app/Filament/Resources/VehiclesResource.php +++ b/app/Filament/Resources/VehiclesResource.php @@ -23,6 +23,8 @@ class VehiclesResource extends Resource protected static ?string $navigationIcon = 'heroicon-o-collection'; + protected static ?string $navigationGroup = 'Car Show'; + public static function form(Form $form): Form { return $form diff --git a/app/Filament/Resources/WinningBidsResource.php b/app/Filament/Resources/WinningBidsResource.php index dc8ad57..45267b2 100644 --- a/app/Filament/Resources/WinningBidsResource.php +++ b/app/Filament/Resources/WinningBidsResource.php @@ -23,6 +23,8 @@ class WinningBidsResource extends Resource protected static ?string $navigationIcon = 'heroicon-o-collection'; + protected static ?string $navigationGroup = 'Silent Auction'; + public static function form(Form $form): Form { return $form