diff --git a/app/Filament/Widgets/ProcessOrderChart.php b/app/Filament/Widgets/ProcessOrderChart.php index 9148b080..47a38dcc 100644 --- a/app/Filament/Widgets/ProcessOrderChart.php +++ b/app/Filament/Widgets/ProcessOrderChart.php @@ -165,6 +165,7 @@ class ProcessOrderChart extends ChartWidget $records = CharacteristicValue::query() ->where('plant_id', $selectedPlant) + ->where('line_id', $selectedLine) ->whereIn('process_order', function ($query) use ($selectedPlant, $selectedLine) { $query->select('process_order') ->from('process_orders')