Added operator_id column, and searchable filter in view

This commit is contained in:
dhanabalan
2025-04-23 14:19:50 +05:30
parent d2be234d44
commit 3878359f81
4 changed files with 29 additions and 6 deletions

View File

@@ -376,6 +376,9 @@ class ProductionLineStopResource extends Resource
Tables\Columns\TextColumn::make('plant.name')
->label('Plant')
->sortable(),
Tables\Columns\TextColumn::make('operator_id')
->label('Operator ID')
->sortable(),
Tables\Columns\TextColumn::make('created_at')
->label('Created At')
->dateTime()
@@ -407,7 +410,6 @@ class ProductionLineStopResource extends Resource
}),
//block
Select::make('Block')
->label('Select Block')
->options(fn (callable $get) =>
@@ -418,7 +420,6 @@ class ProductionLineStopResource extends Resource
->reactive(),
//shift
Select::make('Shift')
->label('Select Shift')
->options(function (callable $get) {
@@ -436,7 +437,6 @@ class ProductionLineStopResource extends Resource
->reactive(),
//line
Select::make('line')
->label('Select line')
->options(function (callable $get) {