Merge pull request 'Added shift flag in line exporter' (#1214) from ranjith-dev into master
All checks were successful
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (push) Successful in 14s
All checks were successful
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (push) Successful in 14s
Reviewed-on: #1214
This commit was merged in pull request #1214.
This commit is contained in:
@@ -30,6 +30,16 @@ class LineExporter extends Exporter
|
||||
->label('LINE NAME'),
|
||||
ExportColumn::make('type')
|
||||
->label('LINE TYPE'),
|
||||
ExportColumn::make('uom')
|
||||
->label('UNIT OF MEASUREMENT'),
|
||||
ExportColumn::make('shift_flag')
|
||||
->label('SHIFT')
|
||||
->formatStateUsing(fn ($state) => match ((string) $state) {
|
||||
'0' => 'Day&Night',
|
||||
'1' => 'Day',
|
||||
'2' => 'Night',
|
||||
default => 'Unknown',
|
||||
}),
|
||||
ExportColumn::make('no_of_operation')
|
||||
->label('NO OF OPERATION'),
|
||||
ExportColumn::make('workGroup1.name')
|
||||
|
||||
Reference in New Issue
Block a user