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

+3 -3
View File
@@ -9,7 +9,7 @@ class Inhaltsverzeichnis extends Model
protected $fillable = [
'name',
'ueberschrift_anzeigen',
'tabellen_id',
'inhaltselement_id',
'textblock_id',
'sort',
'ordnungszahl',
@@ -35,8 +35,8 @@ class Inhaltsverzeichnis extends Model
return $this->hasMany(Textblock::class, 'id', 'textblock_id');
}
public function tabellen()
public function inhaltselement()
{
return $this->hasMany(Tabellen::class, 'id', 'tabellen_id');
return $this->hasMany(Inhaltselement::class, 'id', 'inhaltselement_id');
}
}