wip
This commit is contained in:
1 parent
586d94a213
commit
e0a063f406
2 files changed
+24
-25
No files matched your search
@@ -22,37 +22,36 @@ class MailVersandsTable
|
||||
SelectColumn::make('mail_vorlage_id')
|
||||
->optionsRelationship(name: 'mail_vorlage', titleAttribute: 'titel')
|
||||
->label('Vorlage'),
|
||||
TextColumn::make('sende_zeitpunkt')
|
||||
->alignCenter()
|
||||
->since()
|
||||
->badge()
|
||||
->dateTimeTooltip()
|
||||
->label('Sende Zeitpunkt'),
|
||||
TextColumn::make('versand_am')
|
||||
->alignCenter()
|
||||
->since()
|
||||
->badge()
|
||||
->dateTimeTooltip(),
|
||||
// TextColumn::make('sende_zeitpunkt')
|
||||
// ->alignCenter()
|
||||
// ->since()
|
||||
// ->badge()
|
||||
// ->dateTimeTooltip()
|
||||
// ->label('Sende Zeitpunkt'),
|
||||
// TextColumn::make('versand_am')
|
||||
// ->alignCenter()
|
||||
// ->since()
|
||||
// ->badge()
|
||||
// ->dateTimeTooltip(),
|
||||
])
|
||||
->filters([
|
||||
//
|
||||
])
|
||||
->recordActions([
|
||||
Action::make('sendmail-bytime')
|
||||
->tooltip('Sende zum Zeitpunkt')
|
||||
->modalHeading('Newsletter Versand')
|
||||
->icon('heroicon-o-envelope')
|
||||
->modalDescription('E-Mails werden gelisted und zum gewählten Datum versandt.')
|
||||
->requiresConfirmation()
|
||||
->modalSubmitActionLabel('Senden')
|
||||
->iconButton()
|
||||
->modalIcon('heroicon-o-paper-airplane')
|
||||
->action(fn ($record) => SendNewsletter::mailit($record)),
|
||||
// Action::make('sendmail-bytime')
|
||||
// ->tooltip('Sende zum Zeitpunkt')
|
||||
// ->modalHeading('Newsletter Versand')
|
||||
// ->icon('heroicon-o-envelope')
|
||||
// ->modalDescription('E-Mails werden gelisted und zum gewählten Datum versandt.')
|
||||
// ->requiresConfirmation()
|
||||
// ->modalSubmitActionLabel('Senden')
|
||||
// ->iconButton()
|
||||
// ->modalIcon('heroicon-o-paper-airplane')
|
||||
// ->action(fn ($record) => SendNewsletter::mailit($record)),
|
||||
Action::make('sendmail-now')
|
||||
->color('warning')
|
||||
->tooltip('Sende Jetzt')
|
||||
->modalHeading('Newsletter Versand')
|
||||
->icon('heroicon-o-envelope')
|
||||
->icon('heroicon-o-paper-airplane')
|
||||
->modalDescription('E-Mails werden gelisted und zum gewählten Datum versandt.')
|
||||
->requiresConfirmation()
|
||||
->modalSubmitActionLabel('Senden')
|
||||
|
||||
Reference in new issue
Block a user