@extends("app.layout.base") @section("title") Reservationer @endsection @section("content")

{{__('msg.dinereservationer')}}

@foreach($reservations as $reservation) @if(date('Y-m-d H:i:s', strtotime('-1 hour')) < $reservation->time)

{{ \App\WashingMachine::query()->find($reservation->machine_id)->name }}

{{__('msg.tid')}}: {{ \Illuminate\Support\Facades\Date::createFromTimeStamp(strtotime($reservation->time))->format('d/m/Y \k\l\. H:i') }} - {{ $reservation->name }}
$reservation ]) }}"> @csrf @method("delete")
@endif @endforeach @if(count($reservations) < 1 || $washingreservations == 0)

{{__('msg.duharingenreservationer')}}.

@else {{ $reservations->links() }} @endif {{__('msg.reservervaskemaskine')}}
@endsection @section("scripts") @endsection