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) {
|
->afterStateUpdated(function (callable $set) {
|
||||||
$set('updated_by', Filament::auth()->user()?->name);
|
$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')
|
Forms\Components\Select::make('motor_stop_flow_id')
|
||||||
->label('MOTOR STOP FLOW ID')
|
->label('MOTOR STOP FLOW ID')
|
||||||
// ->nullable()
|
// ->nullable()
|
||||||
@@ -1378,6 +1358,26 @@ class ClassCharacteristicResource extends Resource
|
|||||||
$set('updated_by', Filament::auth()->user()?->name);
|
$set('updated_by', Filament::auth()->user()?->name);
|
||||||
})
|
})
|
||||||
->required(),
|
->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')
|
Forms\Components\Hidden::make('created_by')
|
||||||
->label('Created By')
|
->label('Created By')
|
||||||
->default(Filament::auth()->user()?->name),
|
->default(Filament::auth()->user()?->name),
|
||||||
|
|||||||
@@ -129,6 +129,13 @@ class TempClassCharacteristicResource extends Resource
|
|||||||
$set('updated_by', Filament::auth()->user()?->name);
|
$set('updated_by', Filament::auth()->user()?->name);
|
||||||
})
|
})
|
||||||
->required(),
|
->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')
|
Forms\Components\TextInput::make('class')
|
||||||
->label('CLASS')
|
->label('CLASS')
|
||||||
->reactive()
|
->reactive()
|
||||||
@@ -987,12 +994,6 @@ class TempClassCharacteristicResource extends Resource
|
|||||||
->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('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')
|
Forms\Components\TextInput::make('has_work_flow_id')
|
||||||
->label('HAS WORK FLOW ID')
|
->label('HAS WORK FLOW ID')
|
||||||
->reactive()
|
->reactive()
|
||||||
|
|||||||
Reference in New Issue
Block a user