@extends("admin.layout.base") @extends("admin.layout.header") @section("title") Vaskemaskine Reservationer - Vis @endsection @section("path") Vis Vaskemaskine Reservationer / @endsection @section("content")
@csrf
@foreach($reservations as $reservation) @endforeach
Vaskemaskine Tidspunkt Bruger Update Delete
{{ \App\WashingMachine::query()->find($reservation->machine_id)->name }} {{ $reservation->time }} {{ ucfirst(\App\User::query()->find($reservation->user_id)->name_first) }} {{ ucfirst(\App\User::query()->find($reservation->user_id)->name_last) }} Update
@csrf @method("delete")
{{ $reservations->links() }} @endsection