Korrekturen

- In der NAvigationsleiste werden unter "Wer sind wir" wieder die Fahrzeuge angezeigt
- Im Anmeldefomular für die Kinderfeuerwehr wurde das Geburtsdatum falsch in der Datenbank gespeichert
This commit is contained in:
ppa. Marco Glietsch 2022-08-22 10:14:14 +02:00
parent 3599dfa825
commit 3d5a07aafd
2 changed files with 6 additions and 1 deletions

View File

@ -166,7 +166,7 @@ class ContactController extends ExtendedController
{ {
$model = new SubscribeYouthFireFighter(); $model = new SubscribeYouthFireFighter();
$model->fill($request->all()); $model->fill($request->all());
$model->birthday = $request->birthday; $model->birthday = Carbon::createFromFormat('d.m.Y', $request->birthday);
# $model->city = $request->city[0]; # $model->city = $request->city[0];
$model->save(); $model->save();

View File

@ -227,6 +227,11 @@
'class' => 'dropdown-item' 'class' => 'dropdown-item'
]) ])
@endforeach @endforeach
@include('inc.navigation.navbarLink', [
'url' => 'fahrzeug',
'label' => 'Einsatzfahrzeuge',
'class' => 'dropdown-item'
])
</ul> </ul>
</li> </li>
</ul> </ul>