wip zuabschlaege pdf
This commit is contained in:
1 parent
88d561675d
commit
7917777b93
23 files changed
+510
-604
No files matched your search
@@ -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');
|
||||
|
||||
@@ -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)
|
||||
{
|
||||
|
||||
|
||||
@@ -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');
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user