bezahlung wip

This commit is contained in:
salam committed 2025-10-14 08:18:52 +02:00
1 parent f676ec5a51
commit 48af0fd6c8
9 files changed
+197 -115

No files matched your search

+19
View File
@@ -17,8 +17,27 @@ class Projekte extends Model
'beschreibung',
'erstellung',
'status',
'pdf_gutachten_name',
'pdf_nutzwerte_name',
'excel_nutzwerte_name',
'bezahlt_am',
];
/**
* Get the attributes that should be cast.
*
* @return array<string, string>
*/
protected function casts(): array
{
return [
'bezahlt_am' => 'datetime',
'pdf_nutzwerte_status' => 'boolean',
'pdf_gutachten_status' => 'boolean',
'excel_nutzwerte_status' => 'boolean',
];
}
protected static function booted(): void
{
static::addGlobalScope(new KontoScope);