Merge pull request 'Columns re-ordering on resource page for class characteristics and temp class characteristics' (#1052) from ranjith-dev into master
All checks were successful
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (push) Successful in 24s
All checks were successful
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (push) Successful in 24s
Reviewed-on: #1052
This commit was merged in pull request #1052.
This commit is contained in:
@@ -1290,26 +1290,6 @@ class ClassCharacteristicResource extends Resource
|
||||
->afterStateUpdated(function (callable $set) {
|
||||
$set('updated_by', Filament::auth()->user()?->name);
|
||||
}),
|
||||
Forms\Components\TextInput::make('pending_released_status')
|
||||
->label('PENDING RELEASED STATUS')
|
||||
->reactive()
|
||||
->integer()
|
||||
->afterStateUpdated(function (callable $set) {
|
||||
$set('updated_by', Filament::auth()->user()?->name);
|
||||
})
|
||||
->default(0)
|
||||
->required(),
|
||||
Forms\Components\TextInput::make('has_work_flow_id')
|
||||
->label('HAS WORK FLOW ID')
|
||||
->reactive()
|
||||
->minValue(0)
|
||||
->integer()
|
||||
->maxValue(3)
|
||||
->afterStateUpdated(function (callable $set) {
|
||||
$set('updated_by', Filament::auth()->user()?->name);
|
||||
})
|
||||
->default(0)
|
||||
->required(),
|
||||
Forms\Components\Select::make('motor_stop_flow_id')
|
||||
->label('MOTOR STOP FLOW ID')
|
||||
// ->nullable()
|
||||
@@ -1378,6 +1358,26 @@ class ClassCharacteristicResource extends Resource
|
||||
$set('updated_by', Filament::auth()->user()?->name);
|
||||
})
|
||||
->required(),
|
||||
Forms\Components\TextInput::make('pending_released_status')
|
||||
->label('PENDING RELEASED STATUS')
|
||||
->reactive()
|
||||
->integer()
|
||||
->afterStateUpdated(function (callable $set) {
|
||||
$set('updated_by', Filament::auth()->user()?->name);
|
||||
})
|
||||
->default(0)
|
||||
->required(),
|
||||
Forms\Components\TextInput::make('has_work_flow_id')
|
||||
->label('HAS WORK FLOW ID')
|
||||
->reactive()
|
||||
->minValue(0)
|
||||
->integer()
|
||||
->maxValue(3)
|
||||
->afterStateUpdated(function (callable $set) {
|
||||
$set('updated_by', Filament::auth()->user()?->name);
|
||||
})
|
||||
->default(0)
|
||||
->required(),
|
||||
Forms\Components\Hidden::make('created_by')
|
||||
->label('Created By')
|
||||
->default(Filament::auth()->user()?->name),
|
||||
|
||||
@@ -129,6 +129,13 @@ class TempClassCharacteristicResource extends Resource
|
||||
$set('updated_by', Filament::auth()->user()?->name);
|
||||
})
|
||||
->required(),
|
||||
Forms\Components\TextInput::make('model_type')
|
||||
->label('MODEL TYPE')
|
||||
->reactive()
|
||||
->afterStateUpdated(function (callable $set) {
|
||||
$set('updated_by', Filament::auth()->user()?->name);
|
||||
})
|
||||
->required(fn (callable $get) => (! $get('id'))),
|
||||
Forms\Components\TextInput::make('class')
|
||||
->label('CLASS')
|
||||
->reactive()
|
||||
@@ -987,12 +994,6 @@ class TempClassCharacteristicResource extends Resource
|
||||
->afterStateUpdated(function (callable $set) {
|
||||
$set('updated_by', Filament::auth()->user()?->name);
|
||||
}),
|
||||
Forms\Components\TextInput::make('model_type')
|
||||
->label('MODEL TYPE')
|
||||
->reactive()
|
||||
->afterStateUpdated(function (callable $set) {
|
||||
$set('updated_by', Filament::auth()->user()?->name);
|
||||
}),
|
||||
Forms\Components\TextInput::make('has_work_flow_id')
|
||||
->label('HAS WORK FLOW ID')
|
||||
->reactive()
|
||||
|
||||
Reference in New Issue
Block a user