label('Commodity'), ExportColumn::make('total_transit_stock') ->label('Current Stock (Transit)'), ExportColumn::make('total_non_transit_stock') ->label('Current Stock (Non-Transit)'), ExportColumn::make('total_free_stock') ->label('Free Stock'), ExportColumn::make('average_invoice_cif') ->label('Invoice CIF'), ExportColumn::make('average_selfcost') ->label('FCA Selfcost') ]; } public static function getCompletedNotificationBody(Export $export): string { $body = 'Your dashboard commodity 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.'; } return $body; } }