@extends('admin.layout.app') @section('main_title', 'View Event') @section('title', '') @section('sub_title', 'Control Panel') @push('styles') @endpush @section('content')

Event Details

{{$event->name}}

@csrf
  • @if($event->source_id == 0)Manual @else {{$event->source->name}} @endif
  • @if($event->maps)
  • Map Url :
  • @endif
  • Mapped Status: @if($event->mapped_status == 1) True @else False @endif
  • Update Requires: @if($event->update_requires == 1) True @else False @endif

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

Address : @if(isset($event->venueAddress->address_line_1) && !empty($event->venueAddress->address_line_1)){{$event->venueAddress->address_line_1}} {{$event->venueAddress->address_line_2}} @endif

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

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

PostCode : @if(isset($event->venueAddress->address_line_1) && !empty($event->venueAddress->address_line_1)) {{$event->venueAddress->post_code}} @endif

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


Category & Sections

@if(!empty($event->venue) && $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
@if($event->tixstockLog->count() > 0) @php $count=1; @endphp @foreach($event->tixstockLog as $log)
  • Url :
  • Content Type : Application/json
  • Token : {{ $log->source->token }}
  • 
                                                                                               
                                                                                            
    
                                                                                                 
                                                                                        
    @php $count++; @endphp @endforeach @endif
    @if(!empty($event->prev_name) || !empty($event->prev_event_date) || !empty($event->prev_performer_1_id) || !empty($event->prev_performer_2_id) || !empty($event->prev_venue_id)) @if(!empty($event->prev_name))

    Previous Name : {{$event->prev_name}}

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


    @endif @if(!empty($event->prev_performer_1_id))

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

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


    @endif @if(!empty($event->prev_performer_2_id))

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

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


    @endif @if(!empty($event->prev_event_date))

    Previous Event Date : {{$event->prev_event_date}}

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


    @endif @if(!empty($event->prev_venue_id))

    Previous Venue Details : {{$event->prev_venue_id}}

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

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

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

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

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

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


    Category & Sections

    Source : Stubhub
    @foreach($event->prevVenue->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

    Current Venue Details : {{$event->venue_id}}

    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

    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
    @endif @else @endif
    @endsection @push('scripts') @endpush