label('ID'), ExportColumn::make('plant.name'), ExportColumn::make('date'), ExportColumn::make('to_address'), ExportColumn::make('cover_material'), ExportColumn::make('name_of_sender'), ExportColumn::make('place_pincode'), ExportColumn::make('pod_number'), ExportColumn::make('remark'), ExportColumn::make('created_at'), ExportColumn::make('updated_at'), ExportColumn::make('created_by'), ExportColumn::make('updated_by'), ExportColumn::make('deleted_at'), ]; } public static function getCompletedNotificationBody(Export $export): string { $body = 'Your courier outward 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; } }