add logo to auftraggeber und gutacher
This commit is contained in:
1 parent
a473081e3a
commit
98ccca1fb7
11 files changed
+128
-39
No files matched your search
@@ -23,8 +23,19 @@ class Auftraggeber extends Model
|
||||
'email',
|
||||
'phone',
|
||||
'use_logo',
|
||||
'kopf',
|
||||
];
|
||||
|
||||
/**
|
||||
* @return array<string, string>
|
||||
*/
|
||||
protected function casts(): array
|
||||
{
|
||||
return [
|
||||
'kopf' => 'array',
|
||||
];
|
||||
}
|
||||
|
||||
protected static function newFactory(): Factory
|
||||
{
|
||||
return AuftraggeberFactory::new();
|
||||
|
||||
@@ -27,6 +27,16 @@ class Gutachter extends Model
|
||||
'kopf',
|
||||
];
|
||||
|
||||
/**
|
||||
* @return array<string, string>
|
||||
*/
|
||||
protected function casts(): array
|
||||
{
|
||||
return [
|
||||
'kopf' => 'array',
|
||||
];
|
||||
}
|
||||
|
||||
protected static function booted(): void
|
||||
{
|
||||
static::addGlobalScope(new KontoScope);
|
||||
|
||||
Reference in new issue
Block a user