Columns re-ordering on resource page for class characteristics and temp class characteristics
Some checks failed
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (push) Successful in 13s
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (pull_request) Successful in 14s
Gemini PR Review / Gemini PR Review (pull_request) Failing after 19s
Laravel Pint / pint (pull_request) Successful in 5m59s
Laravel Larastan / larastan (pull_request) Failing after 7m46s
Some checks failed
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (push) Successful in 13s
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (pull_request) Successful in 14s
Gemini PR Review / Gemini PR Review (pull_request) Failing after 19s
Laravel Pint / pint (pull_request) Successful in 5m59s
Laravel Larastan / larastan (pull_request) Failing after 7m46s
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