wip
This commit is contained in:
1 parent
3a35ccd69d
commit
261fb0916d
38 files changed
+348
-258
No files matched your search
@@ -10,6 +10,8 @@ class CreateProjektInhaltsverzeichnis
|
||||
{
|
||||
public static function create($record)
|
||||
{
|
||||
ProjektInhaltsverzeichnis::where('projekte_id', $record->id)->delete();
|
||||
|
||||
$inhaltsverzeichnis = Inhaltsverzeichnis::get();
|
||||
foreach ($inhaltsverzeichnis as $inhalt) {
|
||||
|
||||
@@ -28,9 +30,10 @@ class CreateProjektInhaltsverzeichnis
|
||||
'ordnungszahl' => $inhalt->ordnungszahl,
|
||||
'name' => $inhalt->name,
|
||||
'ueberschrift_nicht_anzeigen' => $inhalt->ueberschrift_nicht_anzeigen,
|
||||
'seite' => $inhalt->seite,
|
||||
'tabellen_id' => $inhalt->tabellen_id,
|
||||
'textblock_id' => $inhalt->textblock_id,
|
||||
'seite' => $inhalt->seite,
|
||||
'ohne_seitenzahl_anzeige' => $inhalt->ohne_seitenzahl_anzeige,
|
||||
'textblock' => $textblock,
|
||||
]);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user