label('ID'), ExportColumn::make('company.name'), ExportColumn::make('name'), ExportColumn::make('type'), ExportColumn::make('contractor_type'), ExportColumn::make('ssn'), ExportColumn::make('ein'), ExportColumn::make('currency_code'), ExportColumn::make('account_number'), ExportColumn::make('website'), ExportColumn::make('notes'), ExportColumn::make('created_by'), ExportColumn::make('updated_by'), ExportColumn::make('created_at'), ExportColumn::make('updated_at'), ]; } public static function getCompletedNotificationBody(Export $export): string { $body = 'Your vendor 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; } }