ID: | {{$location->id}} |
---|---|
Name: |
{{$location->name}} |
Room: | {{$location->room}} |
Description: |
{!! $location->description !!} |
Address: |
{{$location->address}} {{$location->city}}, {{$location->state->state_code}} {{$location->postal_code}} @if($location->address && $location->city && $location->state_id && $location->country_id && $location->postal_code) (Map) @else Incomplete Address Data @endif |
City: | {{$location->city}} |
State: | {{$location->state->state_code}} |
Country: | {{$location->country->iso_code}} |
Postal Code: | {{$location->postal_code}} |
Latitude/Longitude: | {{$location->latitude}} / {{$location->longitude}} |
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 |
All Published Event Records for {{$location->name}} @if(isset($location->room)) - {{$location->room}} @endif | ||||||
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 --}} | |
All Unpublished Event Records for {{$location->name}} @if(isset($location->room)) - {{$location->room}} @endif | ||||||
{{$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 --}} |