diff --git a/app/Filament/Pages/ProductionTarget.php b/app/Filament/Pages/ProductionTarget.php index aa2253db..e8180bbe 100644 --- a/app/Filament/Pages/ProductionTarget.php +++ b/app/Filament/Pages/ProductionTarget.php @@ -219,14 +219,7 @@ class ProductionTarget extends Page $month = (int) $this->filters['month'] ?? null; $category = $this->filters['category'] ?? null; if($category == '' || $category == null){ - // $this->dispatch('loadData',$year, $month, $plantId, $lineId, ''); - $this->dispatch( - 'loadData', - (int) $year, - (int) $month, - (int) $plantId, - (int) $lineId - ); + $this->dispatch('loadData',$year, $month, $plantId, $lineId, ''); } else{ $this->dispatch('loadDataCategory',$year, $month, $plantId, $lineId, $category);