wip
This commit is contained in:
1 parent
3a35ccd69d
commit
261fb0916d
38 files changed
+348
-258
No files matched your search
@@ -14,6 +14,7 @@ class Inhaltsverzeichnis extends Model
|
||||
'sort',
|
||||
'ordnungszahl',
|
||||
'seite',
|
||||
'ohne_seitenzahl_anzeige',
|
||||
];
|
||||
|
||||
public function textblock()
|
||||
|
||||
@@ -10,7 +10,6 @@ class KontoTextblock extends Model
|
||||
protected $fillable = [
|
||||
'konto_id',
|
||||
'name',
|
||||
'textblock_kennung_id',
|
||||
'textblock',
|
||||
];
|
||||
|
||||
|
||||
@@ -9,10 +9,23 @@ class ProjektInhaltsverzeichnis extends Model
|
||||
protected $fillable = [
|
||||
'projekte_id',
|
||||
'name',
|
||||
'textblock',
|
||||
'ueberschrift_nicht_anzeigen',
|
||||
'tabellen_id',
|
||||
'textblock_id',
|
||||
'sort',
|
||||
'ordnungszahl',
|
||||
'textblock_kennung_id',
|
||||
'seite',
|
||||
'ohne_seitenzahl_anzeige',
|
||||
'textblock',
|
||||
];
|
||||
|
||||
public function textblock()
|
||||
{
|
||||
return $this->hasMany(Textblock::class, 'id', 'textblock_id');
|
||||
}
|
||||
|
||||
public function tabellen()
|
||||
{
|
||||
return $this->hasMany(Tabellen::class, 'id', 'tabellen_id');
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user