@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 Delete
{{ \App\WashingMachine::query()->find($reservation->machine_id)->name }} {{ \Illuminate\Support\Facades\Date::createFromTimeStamp(strtotime($reservation->time))->format('d/m/Y \k\l\. H:i') }} {{ ucfirst(\App\User::query()->find($reservation->user_id)->name_first) }} {{ ucfirst(\App\User::query()->find($reservation->user_id)->name_last) }}
@csrf @method("delete")
{{ $reservations->links() }} @endsection