Removed form box of ref number from import transit page #745

Merged
jothi merged 1 commits from ranjith-dev into master 2026-06-13 04:32:29 +00:00

View File

@@ -40,16 +40,17 @@ class ImportTransitResource extends Resource
->schema([ ->schema([
Forms\Components\TextInput::make('cri_rfq_number') Forms\Components\TextInput::make('cri_rfq_number')
->label('CRI/RFQ Number') ->label('CRI/RFQ Number')
->required()
->disabled(fn ($operation) => $operation == 'edit') ->disabled(fn ($operation) => $operation == 'edit')
->unique(ignoreRecord: true), ->unique(ignoreRecord: true),
Forms\Components\DatePicker::make('mail_received_date') Forms\Components\DatePicker::make('mail_received_date')
->label('Mail Received Date') ->label('Mail Received Date')
->required(), ->required(),
Forms\Components\TextInput::make('pricol_ref_number') // Forms\Components\TextInput::make('pricol_ref_number')
->label('Ref Number') // ->label('Ref Number')
->afterStateUpdated(function (callable $set) { // ->afterStateUpdated(function (callable $set) {
$set('updated_by', Filament::auth()->user()?->name); // $set('updated_by', Filament::auth()->user()?->name);
}), // }),
Forms\Components\TextInput::make('requester') Forms\Components\TextInput::make('requester')
->label('Requester') ->label('Requester')
->afterStateUpdated(function (callable $set) { ->afterStateUpdated(function (callable $set) {