v1.5.19c only bugs 2

This commit is contained in:
2021-04-29 10:43:35 +02:00
parent 99a29094d8
commit 125ea424e3
3 changed files with 20 additions and 6 deletions
@@ -2,11 +2,11 @@
@extends("admin.layout.header")
@section("title")
Events - Tilmeldte
ugentlige aktiviteter - Tilmeldte
@endsection
@section("path")
<a href="{{ route("events.index") }}" class="text-white">Vis Events</a> / <a href="" class="text-white">Vis Tilmeldte - {{ $events[0]->name }}</a> /
<a href="{{ route("multiple-events.index") }}" class="text-white">Vis Events</a> / <a href="" class="text-white">Vis Tilmeldte - {{ $multiEvent[0]->name }}</a> /
@endsection
@section("content")
@@ -18,13 +18,13 @@
<th class="w-1em"><img class="w-100" src="{{ asset('/images/icons/trashcan.svg') }}" alt="Delete"></th>
</thead>
<tbody>
@foreach($events as $event)
@if ($event->name_first != null && $event->name_last != null && $event->phone != null && $event->event_id != null && $event->user_id != null)
@foreach($multiEvent as $event)
@if ($event->name_first != null && $event->name_last != null && $event->phone != null && $event->multiple_event_id != null && $event->user_id != null)
<tr>
<td>{{ $event->name_first }}</td>
<td>{{ $event->name_last }}</td>
<td>{{ $event->phone }}</td>
<td><form method="post" action="{{ route("events.destroy", [ "event" => $event->event_id ]) }}" class="w-100 nostyle">
<td><form method="post" action="{{ route("multiple-events.destroy", [ "multiEvent" => $event->event_id ]) }}" class="w-100 nostyle">
@csrf
@method("delete")