Changes to documents able to edit them now, also support for auto mail attechemnts

This commit is contained in:
Simon Pocrnjič
2025-10-18 19:04:10 +02:00
parent 761799bdbe
commit 3b1a24287a
19 changed files with 820 additions and 108 deletions
+2
View File
@@ -17,12 +17,14 @@ class EmailTemplate extends Model
'html_template',
'text_template',
'entity_types',
'allow_attachments',
'active',
];
protected $casts = [
'active' => 'boolean',
'entity_types' => 'array',
'allow_attachments' => 'boolean',
];
public function documents(): MorphMany