@include('Partials.Pages.Search.search_bar')
@include('Partials.Pages.reservation_selector')
@lang('user') | @lang('room') | @lang('items') | @lang('date_start') | @lang('date_end') | @lang('status') | @foreach($data as $reservation)
---|---|---|---|---|---|
{{$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 |