Merge pull request 'added after state updated in wire master print page' (#806) from ranjith-dev into master
All checks were successful
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (push) Successful in 25s
All checks were successful
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (push) Successful in 25s
Reviewed-on: #806
This commit was merged in pull request #806.
This commit is contained in:
@@ -80,7 +80,10 @@ class WireMasterPrint extends Page
|
|||||||
|
|
||||||
return CustomerPoMaster::where('plant_id', $plantId)->distinct()->pluck('customer_po', 'customer_po'); //->pluck('customer_po', 'id'); ->distinct()
|
return CustomerPoMaster::where('plant_id', $plantId)->distinct()->pluck('customer_po', 'customer_po'); //->pluck('customer_po', 'id'); ->distinct()
|
||||||
})
|
})
|
||||||
->required(),
|
->required()
|
||||||
|
->afterStateUpdated(function ($state, callable $set) {
|
||||||
|
$set('scan_pallet_no', null);
|
||||||
|
}),
|
||||||
Select::make('scan_pallet_no')
|
Select::make('scan_pallet_no')
|
||||||
->label('Scan Pallet No')
|
->label('Scan Pallet No')
|
||||||
->reactive()
|
->reactive()
|
||||||
|
|||||||
Reference in New Issue
Block a user