diff --git a/app/Filament/Resources/ProductionPlanResource.php b/app/Filament/Resources/ProductionPlanResource.php index f2a1b4e..9088241 100644 --- a/app/Filament/Resources/ProductionPlanResource.php +++ b/app/Filament/Resources/ProductionPlanResource.php @@ -458,12 +458,12 @@ class ProductionPlanResource extends Resource ->numeric() ->sortable() ->searchable(), - Tables\Columns\TextColumn::make('production_quantity') - ->label('Production Quantity') - ->alignCenter() - ->numeric() - ->sortable() - ->searchable(), + // Tables\Columns\TextColumn::make('production_quantity') + // ->label('Production Quantity') + // ->alignCenter() + // ->numeric() + // ->sortable() + // ->searchable(), // Tables\Columns\TextColumn::make('line.name') // ->label('Line') // ->alignCenter() @@ -606,6 +606,7 @@ class ProductionPlanResource extends Resource $query->where('shift_id', $data['Shift']); } + if (! empty($data['Line'])) {// if ($line = $data['Line'] ?? null) { $query->where('line_id', $data['Line']); }