From 0c7c16943d32f1a7c006d3bd45f4a26f1dd8d8a9 Mon Sep 17 00:00:00 2001 From: dhanabalan Date: Thu, 2 Apr 2026 10:23:23 +0530 Subject: [PATCH 1/4] Updated navigation icon on resource file --- app/Filament/Resources/ConfigurationResource.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Filament/Resources/ConfigurationResource.php b/app/Filament/Resources/ConfigurationResource.php index bd08797..19a8065 100644 --- a/app/Filament/Resources/ConfigurationResource.php +++ b/app/Filament/Resources/ConfigurationResource.php @@ -24,7 +24,7 @@ class ConfigurationResource extends Resource { protected static ?string $model = Configuration::class; - protected static ?string $navigationIcon = 'heroicon-o-rectangle-stack'; + protected static ?string $navigationIcon = 'heroicon-s-cog'; protected static ?string $navigationGroup = 'Master Entries'; From c9794508a2a272a5cf2c75906b856d1124180516 Mon Sep 17 00:00:00 2001 From: dhanabalan Date: Thu, 2 Apr 2026 10:25:17 +0530 Subject: [PATCH 2/4] Updated navigation icon and moved into vehicle group on resource file --- app/Filament/Resources/VehicleEntryResource.php | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/app/Filament/Resources/VehicleEntryResource.php b/app/Filament/Resources/VehicleEntryResource.php index 478ad91..e024b71 100644 --- a/app/Filament/Resources/VehicleEntryResource.php +++ b/app/Filament/Resources/VehicleEntryResource.php @@ -3,7 +3,6 @@ namespace App\Filament\Resources; use App\Filament\Resources\VehicleEntryResource\Pages; -use App\Filament\Resources\VehicleEntryResource\RelationManagers; use App\Models\Plant; use App\Models\VehicleEntry; use Carbon\Carbon; @@ -20,7 +19,9 @@ class VehicleEntryResource extends Resource { protected static ?string $model = VehicleEntry::class; - protected static ?string $navigationIcon = 'heroicon-o-rectangle-stack'; + protected static ?string $navigationIcon = 'heroicon-m-truck'; // heroicon-o-rectangle-stack + + protected static ?string $navigationGroup = 'Vehicle'; public static function form(Form $form): Form { @@ -86,7 +87,7 @@ class VehicleEntryResource extends Resource { return $table ->columns([ - Tables\Columns\TextColumn::make('No.') + Tables\Columns\TextColumn::make('No.') ->label('No.') ->alignCenter() ->getStateUsing(function ($record, $livewire, $column, $rowLoop) { From ea130fab4db2fd8cb1cf1cd56c73ff8191886469 Mon Sep 17 00:00:00 2001 From: dhanabalan Date: Thu, 2 Apr 2026 10:50:25 +0530 Subject: [PATCH 3/4] Updated navigation, download, upload, and delete icon on resource file --- app/Filament/Resources/TestingTempResource.php | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/app/Filament/Resources/TestingTempResource.php b/app/Filament/Resources/TestingTempResource.php index 02de4cb..a655f51 100644 --- a/app/Filament/Resources/TestingTempResource.php +++ b/app/Filament/Resources/TestingTempResource.php @@ -22,7 +22,7 @@ class TestingTempResource extends Resource { protected static ?string $model = TestingTemp::class; - protected static ?string $navigationIcon = 'heroicon-o-rectangle-stack'; + protected static ?string $navigationIcon = 'heroicon-c-circle-stack'; protected static ?string $navigationGroup = 'IIOT Temp'; @@ -36,7 +36,7 @@ class TestingTempResource extends Resource ->required() ->searchable() // ->preload() - // ->nullable(), + ->nullable() ->reactive() ->columnSpan(1) ->options(function (callable $get) { @@ -151,6 +151,7 @@ class TestingTempResource extends Resource Forms\Components\Actions::make([ Action::make('uploadNow') ->label('Upload File') + ->icon('heroicon-c-cloud-arrow-up') ->color('success') ->requiresConfirmation(function (callable $get) { $filePath = $get('attachment'); @@ -231,6 +232,7 @@ class TestingTempResource extends Resource Action::make('downloadAttachment') ->label('Download File') + ->icon('heroicon-c-cloud-arrow-down') ->color('warning') ->requiresConfirmation(function (callable $get) { $filePath = $get('selected_file'); @@ -281,6 +283,7 @@ class TestingTempResource extends Resource Action::make('deleteAttachment') ->label('Delete File') + ->icon('heroicon-c-trash') ->color('danger') ->requiresConfirmation(function (callable $get) { $filePath = $get('selected_file'); From 6c3c7094ce9b7ae3b302054e281b176f79f55638 Mon Sep 17 00:00:00 2001 From: dhanabalan Date: Thu, 2 Apr 2026 11:57:36 +0530 Subject: [PATCH 4/4] Commented required function for subassembly_code --- app/Filament/Resources/MotorTestingMasterResource.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Filament/Resources/MotorTestingMasterResource.php b/app/Filament/Resources/MotorTestingMasterResource.php index a2fa3c0..99d72bc 100644 --- a/app/Filament/Resources/MotorTestingMasterResource.php +++ b/app/Filament/Resources/MotorTestingMasterResource.php @@ -98,7 +98,7 @@ class MotorTestingMasterResource extends Resource }), Forms\Components\TextInput::make('subassembly_code') ->label('Subassembly Code') - ->required() + // ->required() ->placeholder('Scan the valid code') ->reactive() ->alphaNum()