added after state updated in wire master print page #806
@@ -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