Removed production quantity in prodcution plan resource page #187
@@ -458,12 +458,12 @@ class ProductionPlanResource extends Resource
|
|||||||
->numeric()
|
->numeric()
|
||||||
->sortable()
|
->sortable()
|
||||||
->searchable(),
|
->searchable(),
|
||||||
Tables\Columns\TextColumn::make('production_quantity')
|
// Tables\Columns\TextColumn::make('production_quantity')
|
||||||
->label('Production Quantity')
|
// ->label('Production Quantity')
|
||||||
->alignCenter()
|
// ->alignCenter()
|
||||||
->numeric()
|
// ->numeric()
|
||||||
->sortable()
|
// ->sortable()
|
||||||
->searchable(),
|
// ->searchable(),
|
||||||
// Tables\Columns\TextColumn::make('line.name')
|
// Tables\Columns\TextColumn::make('line.name')
|
||||||
// ->label('Line')
|
// ->label('Line')
|
||||||
// ->alignCenter()
|
// ->alignCenter()
|
||||||
@@ -606,6 +606,7 @@ class ProductionPlanResource extends Resource
|
|||||||
$query->where('shift_id', $data['Shift']);
|
$query->where('shift_id', $data['Shift']);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
if (! empty($data['Line'])) {// if ($line = $data['Line'] ?? null) {
|
if (! empty($data['Line'])) {// if ($line = $data['Line'] ?? null) {
|
||||||
$query->where('line_id', $data['Line']);
|
$query->where('line_id', $data['Line']);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user