Removed form box of ref number from import transit page #745
@@ -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) {
|
||||||
|
|||||||
Reference in New Issue
Block a user