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

This commit is contained in:
dhanabalan
2026-09-18 16:43:11 +05:30
parent 67d601c1c2
commit ade587f5c6
2 changed files with 27 additions and 26 deletions

View File

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

View File

@@ -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()