inhaltsangabe wip
This commit is contained in:
1 parent
8ccc4a3c20
commit
3a35ccd69d
34 files changed
+281
-236
No files matched your search
@@ -23,6 +23,7 @@ class Gutachter extends Model
|
||||
'logo',
|
||||
'logo_align',
|
||||
'referenz_formatting',
|
||||
'digitale_signatur_stempel',
|
||||
'logo_anzeigen',
|
||||
'text_anzeigen',
|
||||
];
|
||||
|
||||
@@ -8,14 +8,21 @@ class Inhaltsverzeichnis extends Model
|
||||
{
|
||||
protected $fillable = [
|
||||
'name',
|
||||
'textblock_kennung_id',
|
||||
'ueberschrift_anzeigen',
|
||||
'tabellen_id',
|
||||
'textblock_id',
|
||||
'sort',
|
||||
'ordnungszahl',
|
||||
'seite',
|
||||
];
|
||||
|
||||
public function textblock_kennung()
|
||||
public function textblock()
|
||||
{
|
||||
return $this->hasMany(TextblockKennung::class, 'id', 'textblock_kennung_id');
|
||||
return $this->hasMany(Textblock::class, 'id', 'textblock_id');
|
||||
}
|
||||
|
||||
public function tabellen()
|
||||
{
|
||||
return $this->hasMany(Tabellen::class, 'id', 'tabellen_id');
|
||||
}
|
||||
}
|
||||
@@ -18,9 +18,4 @@ class KontoTextblock extends Model
|
||||
{
|
||||
static::addGlobalScope(new KontoScope);
|
||||
}
|
||||
|
||||
public function textblock_kennung()
|
||||
{
|
||||
return $this->hasMany(TextblockKennung::class, 'id', 'textblock_kennung_id');
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
<?php
|
||||
|
||||
namespace App\Models;
|
||||
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
class Tabellen extends Model
|
||||
{
|
||||
//
|
||||
}
|
||||
@@ -9,12 +9,6 @@ class Textblock extends Model
|
||||
protected $fillable = [
|
||||
'name',
|
||||
'beschreibung',
|
||||
'textblock_kennung_id',
|
||||
'textblock',
|
||||
];
|
||||
|
||||
public function textblock_kennung()
|
||||
{
|
||||
return $this->hasMany(TextblockKennung::class, 'id');
|
||||
}
|
||||
}
|
||||
@@ -1,12 +0,0 @@
|
||||
<?php
|
||||
|
||||
namespace App\Models;
|
||||
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
class TextblockKennung extends Model
|
||||
{
|
||||
protected $fillable = [
|
||||
'name',
|
||||
];
|
||||
}
|
||||
Reference in new issue
Block a user