Removed production quantity in prodcution plan resource page #187
@@ -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']);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user