Updated label on InvoiceValidation resource file
Some checks failed
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (push) Has been cancelled

This commit is contained in:
dhanabalan
2026-05-15 20:16:34 +05:30
parent d32408bebd
commit ba55567aed

View File

@@ -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',