wip second letter

This commit is contained in:
salam committed 2026-05-10 17:32:55 +02:00
1 parent e0d114ef29
commit 0eda80ef3a
8 files changed
+17 -3

No files matched your search

+1
View File
@@ -91,6 +91,7 @@ class SendNewsletter
// }
$data['inhalt'] = str_replace('###lieber_vorname###', $replace, $template->inhalt);
$data['unterschrift'] = $template->unterschrift;
SendNewsletterJob::dispatch($data);
@@ -26,6 +26,11 @@ class MailVorlageForm
['bold', 'italic', 'underline', 'strike', 'code', 'small', 'highlight'],
['undo', 'redo'],
]),
RichEditor::make('unterschrift')
->toolbarButtons([
['bold', 'italic'],
['undo', 'redo'],
]),
])->columns(1);
}
}
@@ -31,6 +31,9 @@ class MailVorlagesTable
->extraAttributes(['class' => 'tiptap'])
->markdown()
->wrap(),
TextColumn::make('unterschrift')
->markdown()
->prefix('Unterschrift: '),
])->space(1),
]),
])
+1
View File
@@ -10,5 +10,6 @@ class MailVorlage extends Model
'titel',
'subjekt',
'inhalt',
'unterschrift',
];
}