diff --git a/app/Filament/Pages/ProductionQuantityPage.php b/app/Filament/Pages/ProductionQuantityPage.php index af6e40e..35e93b3 100644 --- a/app/Filament/Pages/ProductionQuantityPage.php +++ b/app/Filament/Pages/ProductionQuantityPage.php @@ -395,6 +395,8 @@ class ProductionQuantityPage extends Page implements HasForms // dd($lineName, $blockName); + session(['select_line' => $machine->line_id]); + $this->form->fill([ 'plant_id'=> $this->pId, 'machine_id' => $this->mId, @@ -410,7 +412,7 @@ class ProductionQuantityPage extends Page implements HasForms // 'operator_id'=> $operatorName, 'recent_qr' => $this->recQr, ]); - // $this->dispatch('focus-production-order'); + $this->triggerChartUpdate(); } else {