@extends("admin.layout.base") @extends("admin.layout.header") @section("title") Vaskemaskine Reservationer - Vis @endsection @section("path") Vis Vaskemaskine Reservationer / @endsection @section("content")
Lokation | Vaskemaskine | Tidspunkt | Bruger | @if(auth()->user()->can('washing.machine.reservation.delete'))@endif |
---|---|---|---|---|
{{ \App\Location::query()->find(\App\WashingMachine::query()->find($reservation->machine_id)->location_id)->name }} | {{ \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) }} | @if(auth()->user()->can('washing.machine.reservation.delete'))@endif |