Added shift flag in line resource page #1211
@@ -229,6 +229,14 @@ class LineResource extends Resource
|
|||||||
->label('Unit of Measure')
|
->label('Unit of Measure')
|
||||||
->placeholder('Scan the valid uom'),
|
->placeholder('Scan the valid uom'),
|
||||||
|
|
||||||
|
Forms\Components\Select::make('shift_flag')
|
||||||
|
->label('Shift')
|
||||||
|
->options([
|
||||||
|
'1' => 'Day',
|
||||||
|
'2' => 'Night',
|
||||||
|
'0' => 'Day&Night',
|
||||||
|
]),
|
||||||
|
|
||||||
Forms\Components\TextInput::make('no_of_operation')
|
Forms\Components\TextInput::make('no_of_operation')
|
||||||
->label('No of Operation')
|
->label('No of Operation')
|
||||||
->required()
|
->required()
|
||||||
@@ -1078,6 +1086,11 @@ class LineResource extends Resource
|
|||||||
->default('-')
|
->default('-')
|
||||||
->alignCenter()
|
->alignCenter()
|
||||||
->sortable(),
|
->sortable(),
|
||||||
|
Tables\Columns\TextColumn::make('shift_flag')
|
||||||
|
->label('Shift')
|
||||||
|
->alignCenter()
|
||||||
|
->sortable()
|
||||||
|
->searchable(),
|
||||||
Tables\Columns\TextColumn::make('no_of_operation')
|
Tables\Columns\TextColumn::make('no_of_operation')
|
||||||
->label('No of Operation')
|
->label('No of Operation')
|
||||||
->alignCenter()
|
->alignCenter()
|
||||||
|
|||||||
Reference in New Issue
Block a user