This commit is contained in:
salam committed 2026-05-10 11:31:29 +02:00
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') SelectColumn::make('mail_vorlage_id')
->optionsRelationship(name: 'mail_vorlage', titleAttribute: 'titel') ->optionsRelationship(name: 'mail_vorlage', titleAttribute: 'titel')
->label('Vorlage'), ->label('Vorlage'),
TextColumn::make('sende_zeitpunkt') // TextColumn::make('sende_zeitpunkt')
->alignCenter() // ->alignCenter()
->since() // ->since()
->badge() // ->badge()
->dateTimeTooltip() // ->dateTimeTooltip()
->label('Sende Zeitpunkt'), // ->label('Sende Zeitpunkt'),
TextColumn::make('versand_am') // TextColumn::make('versand_am')
->alignCenter() // ->alignCenter()
->since() // ->since()
->badge() // ->badge()
->dateTimeTooltip(), // ->dateTimeTooltip(),
]) ])
->filters([ ->filters([
// //
]) ])
->recordActions([ ->recordActions([
Action::make('sendmail-bytime') // Action::make('sendmail-bytime')
->tooltip('Sende zum Zeitpunkt') // ->tooltip('Sende zum Zeitpunkt')
->modalHeading('Newsletter Versand') // ->modalHeading('Newsletter Versand')
->icon('heroicon-o-envelope') // ->icon('heroicon-o-envelope')
->modalDescription('E-Mails werden gelisted und zum gewählten Datum versandt.') // ->modalDescription('E-Mails werden gelisted und zum gewählten Datum versandt.')
->requiresConfirmation() // ->requiresConfirmation()
->modalSubmitActionLabel('Senden') // ->modalSubmitActionLabel('Senden')
->iconButton() // ->iconButton()
->modalIcon('heroicon-o-paper-airplane') // ->modalIcon('heroicon-o-paper-airplane')
->action(fn ($record) => SendNewsletter::mailit($record)), // ->action(fn ($record) => SendNewsletter::mailit($record)),
Action::make('sendmail-now') Action::make('sendmail-now')
->color('warning')
->tooltip('Sende Jetzt') ->tooltip('Sende Jetzt')
->modalHeading('Newsletter Versand') ->modalHeading('Newsletter Versand')
->icon('heroicon-o-envelope') ->icon('heroicon-o-paper-airplane')
->modalDescription('E-Mails werden gelisted und zum gewählten Datum versandt.') ->modalDescription('E-Mails werden gelisted und zum gewählten Datum versandt.')
->requiresConfirmation() ->requiresConfirmation()
->modalSubmitActionLabel('Senden') ->modalSubmitActionLabel('Senden')
+2 -2
View File
@@ -353,10 +353,10 @@ $logo = config('app.url') . '/images/newsletter/ztlogo-tv.png';
</td> </td>
</tr> </tr>
<tr> <tr>
<td style="text-align:center; padding: 20px;"> <td align="center">
<img src="{{ $message->embedData(file_get_contents($logo), 'zt:tirol vorarlberg', 'image/png') }}" <img src="{{ $message->embedData(file_get_contents($logo), 'zt:tirol vorarlberg', 'image/png') }}"
alt="zt:tirol vorarlberg" alt="zt:tirol vorarlberg"
style="width:349px; height:69px; border: 0; padding: 0; display: block;" style="width:349px; height:69px; margin: 0; border: 0; padding: 0; display: block; padding-top:10px;"
width="349" height="60" /> width="349" height="60" />
</td> </td>
</tr> </tr>