big change Inhaltstabelle und PDF

This commit is contained in:
salam committed 2025-11-03 18:14:46 +01:00
1 parent 2f6ae7e4a1
commit d5d1f743bb
58 files changed
+1244 -922

No files matched your search

+5 -9
View File
@@ -10,24 +10,20 @@ class ProjektInhaltsverzeichnis extends Model
'projekte_id',
'name',
'ueberschrift_anzeigen',
'tabellen_id',
'textblock_id',
'inhaltselement_id',
'sort',
'ordnungszahl',
'part',
'seite',
'neue_seite',
'seitenzahl_anzeige',
'textblock_name',
'textblock',
'textblock2',
];
public function textblock()
public function inhaltselement()
{
return $this->hasMany(Textblock::class, 'id', 'textblock_id');
}
public function tabellen()
{
return $this->hasMany(Tabellen::class, 'id', 'tabellen_id');
return $this->hasOne(Inhaltselement::class, 'id', 'inhaltselement_id');
}
}