wip second letter
This commit is contained in:
1 parent
e0d114ef29
commit
0eda80ef3a
8 files changed
+17
-3
No files matched your search
@@ -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),
|
||||
]),
|
||||
])
|
||||
|
||||
@@ -10,5 +10,6 @@ class MailVorlage extends Model
|
||||
'titel',
|
||||
'subjekt',
|
||||
'inhalt',
|
||||
'unterschrift',
|
||||
];
|
||||
}
|
||||
Reference in new issue
Block a user