@if($eventVersions->count() > 0) @php $count=1; @endphp @foreach($eventVersions as $event)

Event Details

Name : {{$event->name}}

External : {{$event->external_id}}

Source : {{$event->source->name}}

Status : {{$event->status}}

Event Date : {{$event->event_date}}

Created Date : {{$event->created_at}}

Updated Date : {{$event->updated_at}}

Mapped Status : @if($event->mapped_status==0) UnMapped @else Mapped @endif


Event Category

Primary Category : @if(!empty($event->eventcategory->primary_category)) {{$event->eventcategory->primary_category}} @endif

Secondary Category : {{$event->eventcategory->secondary_category}}


Performers

Performer 1 : @if(!empty($event->performer1->name)) {{$event->performer1->name}} @endif

External Id : @if(!empty($event->performer1->external_id)) {{$event->performer1->external_id}} @endif

@if($event->performer2 != NULL)

Performer 2 : @if(!empty($event->performer2->name)) {{$event->performer2->name}} @endif

External Id : @if(!empty($event->performer2->external_id)) {{$event->performer2->external_id}} @endif

@endif

Name : {{$event->venue->name}}

Address : {{$event->venue->address_line_1}} {{$event->venue->address_line_2}}

City : {{$event->venue->city}}

State : {{$event->venue->state}}

PostCode : {{$event->venue->post_code}}

Country : {{$event->venue->country}}


Category & Sections

@if($event->venue->category->count() > 0)
Source : Stubhub
@foreach($event->venue->category as $ck=>$cat)
  1. {{ trim(str_replace('(category)','',$cat->name)) }}
    @if($cat->section) @foreach($cat->section as $sk=>$sec)
    1. {{ $sec->name }}
    @endforeach @endif
@endforeach
@else

No data available

@endif
@php $count++; @endphp @endforeach @endif