wip zuabschlaege pdf

This commit is contained in:
salam committed 2025-10-28 13:40:01 +01:00
1 parent 88d561675d
commit 7917777b93
23 files changed
+510 -604

No files matched your search

+13
View File
@@ -18,6 +18,19 @@ class Inhaltsverzeichnis extends Model
'seitenzahl_anzeige',
];
/**
* Get the attributes that should be cast.
*
* @return array<string, string>
*/
protected function casts(): array
{
return [
'ueberschrift_anzeigen' => 'boolean',
'seitenzahl_anzeige' => 'boolean',
];
}
public function textblock()
{
return $this->hasMany(Textblock::class, 'id', 'textblock_id');
-5
View File
@@ -12,11 +12,6 @@ class Merkmale extends Model
'name',
];
public static function map($projekte_id)
{
return static::getModel()::where('projekte_id', $projekte_id)->pluck('name', 'code')->toArray();
}
public static function getfreecode($projekte_id)
{
+1 -1
View File
@@ -59,7 +59,7 @@ class ProjektObjekte extends Model
return $this->hasOne(Orientierung::class, 'id', 'orientierung_id');
}
public function ProjektObjekteImDetail(): HasMany
public function projektobjekteimdetail(): HasMany
{
return $this->hasMany(ProjektObjekteImDetail::class, 'projekt_objekte_id', 'id');
}