Merge pull request 'Added status in production order fialment table' (#1013) from ranjith-dev into master
All checks were successful
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (push) Successful in 12s
All checks were successful
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (push) Successful in 12s
Reviewed-on: #1013
This commit was merged in pull request #1013.
This commit is contained in:
@@ -95,7 +95,7 @@ class ProductionOrderResource extends Resource
|
||||
return ($userHas && strlen($userHas) > 0) ? optional(ProductionOrder::where('plant_id', $userHas)->latest()->first())->item_id : optional(ProductionOrder::latest()->first())->item_id;
|
||||
})
|
||||
->required()
|
||||
->afterStateUpdated(function ($state, callable $set) {
|
||||
->afterStateUpdated(function ($state, callable $set, $get) {
|
||||
$set('quantity', null);
|
||||
$set('show_extra_fields', false);
|
||||
$set('start_date', null);
|
||||
@@ -291,6 +291,11 @@ class ProductionOrderResource extends Resource
|
||||
->searchable()
|
||||
->alignCenter()
|
||||
->sortable(),
|
||||
Tables\Columns\TextColumn::make('print_status')
|
||||
->label('Status')
|
||||
->searchable()
|
||||
->alignCenter()
|
||||
->sortable(),
|
||||
Tables\Columns\TextColumn::make('created_at')
|
||||
->label('Created At')
|
||||
->dateTime()
|
||||
|
||||
Reference in New Issue
Block a user