Added options in remark and i make text input for status
Some checks failed
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (push) Successful in 15s
Gemini PR Review / Gemini PR Review (pull_request) Failing after 18s
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (pull_request) Successful in 17s
Laravel Pint / pint (pull_request) Successful in 1m48s
Laravel Larastan / larastan (pull_request) Failing after 4m27s
Some checks failed
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (push) Successful in 15s
Gemini PR Review / Gemini PR Review (pull_request) Failing after 18s
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (pull_request) Successful in 17s
Laravel Pint / pint (pull_request) Successful in 1m48s
Laravel Larastan / larastan (pull_request) Failing after 4m27s
This commit is contained in:
@@ -99,16 +99,8 @@ class ImportTransitResource 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\Select::make('status')
|
Forms\Components\TextInput::make('status')
|
||||||
->label('Status')
|
->label('Status')
|
||||||
->options([
|
|
||||||
'Under Service Provider Finalization' => 'Under Service Provider Finalization',
|
|
||||||
'Yet to pick up' => 'Yet to pick up',
|
|
||||||
'Awaiting Vessel Loading' => 'Awaiting Vessel Loading',
|
|
||||||
'In Transit' => 'In Transit',
|
|
||||||
'Under Import Customs Clearance in Destination' => 'Under Import Customs Clearance in Destination',
|
|
||||||
'Delivered' => 'Delivered',
|
|
||||||
])
|
|
||||||
->reactive()
|
->reactive()
|
||||||
->afterStateUpdated(function (callable $set) {
|
->afterStateUpdated(function (callable $set) {
|
||||||
$set('updated_by', Filament::auth()->user()?->name);
|
$set('updated_by', Filament::auth()->user()?->name);
|
||||||
@@ -188,8 +180,17 @@ class ImportTransitResource 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('remark')
|
Forms\Components\Select::make('remark')
|
||||||
->label('Remark')
|
->label('Remark')
|
||||||
|
->options([
|
||||||
|
'Under Service Provider Finalization' => 'Under Service Provider Finalization',
|
||||||
|
'Yet to pick up' => 'Yet to pick up',
|
||||||
|
'Awaiting Vessel Loading' => 'Awaiting Vessel Loading',
|
||||||
|
'In Transit' => 'In Transit',
|
||||||
|
'Under Import Customs Clearance in Destination' => 'Under Import Customs Clearance in Destination',
|
||||||
|
'Delivered' => 'Delivered',
|
||||||
|
])
|
||||||
|
->reactive()
|
||||||
->afterStateUpdated(function (callable $set) {
|
->afterStateUpdated(function (callable $set) {
|
||||||
$set('updated_by', Filament::auth()->user()?->name);
|
$set('updated_by', Filament::auth()->user()?->name);
|
||||||
}),
|
}),
|
||||||
|
|||||||
Reference in New Issue
Block a user