• {{ __('Admin') }}
  • {{--
  • {{ __('Locations') }}
  • --}}
  • {{ __('Locations') }}
  • {{ __('Location Detail') }}
  • Location Detail

    {{$location->name}} @if(isset($location->room)) - {{$location->room}} @endif

    ID:{{$location->id}}
    Name: {{$location->name}}
    Room: {{$location->room}}
    Description: {!! $location->description !!}
    Address: {{$location->address}}
    City: {{$location->city}}
    State: {{$location->state->state_code}}
    Country: {{$location->country->iso_code}}
    Postal Code: {{$location->postal_code}}
    Latitude: {{$location->latitude}}
    Longitude: {{$location->longitude}}
    Location Type: {{$location->location_type->name}}
    Map @if($location->address && $location->city && $location->state_id && $location->country_id && $location->postal_code) Map @else Incomplete Address Data @endif

    Events at {{$location->name}} @if(isset($location->room)) - {{$location->room}} @endif

    @foreach ($events as $event) @endforeach
    Name Start Time Event Type Room
    People
    Role
    Status
    {{$event->name}} {{date('l, g:i a',strtotime($event->start_at))}} {{$event->type->name}} @if(isset($event->location->room)) {{$event->location->room}} @endif
    @foreach($event->event_user as $eu) @if($eu->user)
    {{$eu->event_role->name}}
    @endif @endforeach
    @if($event->published) @if($event->event_type_id == 4) @if($event->event_user->count() == 0) Available @elseif($event->event_user->count() > 0 && $event->event_user()->whereNotNull('confirmed_at')->first()) Confirmed @else Pending @endif @elseif($event->event_type_id != 4) Published @endif @else Unpublished @endif {{-- @if($event->event_type_id == 4) @if($event->event_user->count() == 0) Available @elseif($event->event_user->count() > 0 && $event->event_user()->whereNotNull('confirmed_at')->first()) Confirmed @else Pending @endif @elseif($event->published) Published @else Unpublished @endif --}}
    {{-- {{$events->links()}} --}}