diff --git a/app/Filament/Exports/LineExporter.php b/app/Filament/Exports/LineExporter.php index ceca456..045fadc 100644 --- a/app/Filament/Exports/LineExporter.php +++ b/app/Filament/Exports/LineExporter.php @@ -24,12 +24,12 @@ class LineExporter extends Exporter // Increment and return the row number return ++$rowNumber; }), - ExportColumn::make('plant.name') - ->label('PLANT'), + ExportColumn::make('plant.code') + ->label('PLANT CODE'), ExportColumn::make('name') - ->label('NAME'), + ->label('LINE NAME'), ExportColumn::make('type') - ->label('TYPE'), + ->label('LINE TYPE'), ExportColumn::make('no_of_operation') ->label('NO OF OPERATION'), ExportColumn::make('workGroup1.name') @@ -84,10 +84,10 @@ class LineExporter extends Exporter public static function getCompletedNotificationBody(Export $export): string { - $body = 'Your line export has completed and ' . number_format($export->successful_rows) . ' ' . str('row')->plural($export->successful_rows) . ' exported.'; + $body = 'Your line export has completed and '.number_format($export->successful_rows).' '.str('row')->plural($export->successful_rows).' exported.'; if ($failedRowsCount = $export->getFailedRowsCount()) { - $body .= ' ' . number_format($failedRowsCount) . ' ' . str('row')->plural($failedRowsCount) . ' failed to export.'; + $body .= ' '.number_format($failedRowsCount).' '.str('row')->plural($failedRowsCount).' failed to export.'; } return $body;