@extends('Layouts.master') @section('content')
@include('Partials.Pages.Search.search_bar')
@include('Partials.Pages.reservation_selector') @foreach($data as $reservation) @endforeach
@lang('user') @lang('room') @lang('items') @lang('date_start') @lang('date_end') @lang('status')
{{$reservation->user->username}} {{$reservation->room->building->name}}.{{$reservation->room->name}} @include('Partials.Pages.reservation_items') {{date('d.m.Y',strtotime($reservation->date_start))}} @if(!empty($reservation->date_end)) {{date('d.m.Y',strtotime($reservation->date_end))}} @else @lang('permanent') @endif @switch($reservation->type->name) @case('Reservation - Awaiting') @lang('validation') @break @case('Reservation - Set Up') @lang('setup') @break @case('Reservation - Pick Up') @lang('pickup') @break @endswitch
@include('Partials.Pages.display')
@endsection @section('scripting') @endsection