Added export column label
This commit is contained in:
@@ -16,12 +16,21 @@ class ItemExporter extends Exporter
|
|||||||
return [
|
return [
|
||||||
ExportColumn::make('id')
|
ExportColumn::make('id')
|
||||||
->label('ID'),
|
->label('ID'),
|
||||||
ExportColumn::make('code'),
|
ExportColumn::make('code')
|
||||||
ExportColumn::make('description'),
|
->label('CODE'),
|
||||||
ExportColumn::make('hourly_quantity'),
|
ExportColumn::make('description')
|
||||||
ExportColumn::make('created_at'),
|
->label('DESCRIPTION'),
|
||||||
ExportColumn::make('updated_at'),
|
ExportColumn::make('hourly_quantity')
|
||||||
ExportColumn::make('deleted_at'),
|
->label('HOURLY QUANTITY'),
|
||||||
|
ExportColumn::make('plant.name')
|
||||||
|
->label('PLANT'),
|
||||||
|
ExportColumn::make('created_at')
|
||||||
|
->label('CREATED AT'),
|
||||||
|
ExportColumn::make('updated_at')
|
||||||
|
->label('UPDATED AT'),
|
||||||
|
ExportColumn::make('deleted_at')
|
||||||
|
// ->enabledByDefault(false)
|
||||||
|
->label('DELETED AT'),
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user