From ba55567aed236960492ceb0b2eeb96adc572908d Mon Sep 17 00:00:00 2001 From: dhanabalan Date: Fri, 15 May 2026 20:16:34 +0530 Subject: [PATCH] Updated label on InvoiceValidation resource file --- app/Filament/Resources/InvoiceValidationResource.php | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/app/Filament/Resources/InvoiceValidationResource.php b/app/Filament/Resources/InvoiceValidationResource.php index eab23e1..4da5c3b 100644 --- a/app/Filament/Resources/InvoiceValidationResource.php +++ b/app/Filament/Resources/InvoiceValidationResource.php @@ -61,6 +61,7 @@ class InvoiceValidationResource extends Resource Section::make('') ->schema([ Forms\Components\Select::make('plant_id') + ->label('Plant Name') ->relationship('plant', 'name') ->required() // ->preload() @@ -323,7 +324,7 @@ class InvoiceValidationResource extends Resource ->alignCenter() ->numeric(), Tables\Columns\TextColumn::make('plant.name') - ->label('Plant') + ->label('Plant Name') ->alignCenter() ->sortable(), Tables\Columns\TextColumn::make('created_by') @@ -381,7 +382,7 @@ class InvoiceValidationResource extends Resource return ($userHas && strlen($userHas) > 0) ? Plant::where('id', $userHas)->pluck('name', 'id')->toArray() : Plant::orderBy('code')->pluck('name', 'id')->toArray(); }) ->searchable() - ->label('Select Plant') + ->label('Search by Plant Name') ->required() ->default(function () { return optional(InvoiceValidation::latest()->first())->plant_id; @@ -404,7 +405,7 @@ class InvoiceValidationResource extends Resource ->reactive(), FileUpload::make('invoice_serial_number') - ->label('Invoice Serial Number') + ->label('Choose Serial Invoice') ->required() ->acceptedFileTypes([ 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet', @@ -732,7 +733,7 @@ class InvoiceValidationResource extends Resource return ($userHas && strlen($userHas) > 0) ? Plant::where('id', $userHas)->pluck('name', 'id')->toArray() : Plant::orderBy('code')->pluck('name', 'id')->toArray(); }) ->searchable() - ->label('Select Plant') + ->label('Search by Plant Name') ->required() ->default(function () { return optional(InvoiceValidation::latest()->first())->plant_id; @@ -755,7 +756,7 @@ class InvoiceValidationResource extends Resource ->reactive(), FileUpload::make('invoice_material') - ->label('Invoice Material') + ->label('Choose Material Invoice') ->required() ->acceptedFileTypes([ 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet',