@if(isset($data['events']) && !empty($data['events']) && count($data['events']) > 0)
{{-- @foreach($data['events'] as $event) @php if(isset(App\Helpers\MyLibrary::getFront_Uri('events')['uri'])){ $moduelFrontPageUrl = App\Helpers\MyLibrary::getFront_Uri('events')['uri']; $moduleFrontWithCatUrl = ($event->varAlias != false ) ? $moduelFrontPageUrl . '/' . $event->varAlias : $moduelFrontPageUrl; $categoryRecordAlias = App\Helpers\Mylibrary::getRecordAliasByModuleNameRecordId('events',$event->txtCategories); $recordLinkUrl = $moduleFrontWithCatUrl.'/'.$event->alias->varAlias; } else { $recordLinkUrl = ''; } @endphp @if(isset($event->custom['img'])) @php $itemImg = App\Helpers\resize_image::resize($event->custom['img']); @endphp @else @php $itemImg = App\Helpers\resize_image::resize($event->fkIntImgId); @endphp @endif @if(isset($event->custom['description'])) @php $description = $event->custom['description']; @endphp @else @php $description = $event->varShortDescription; @endphp @endif @if(isset($event->dtDateTime) && !empty($event->dtDateTime)) @php $dtDateTime = json_decode($event->dtDateTime); @endphp @else @php $dtDateTime = ''; @endphp @endif--}}
{{ $event->varTitle }}
@if($event->isRSVP == 'Y') RSVP Open @else RSVP Close @endif
{{ $event->varSector }}
@if(isset($dtDateTime[0]) && !empty($dtDateTime[0])) @if(isset($dtDateTime[0]->startDate) && !empty($dtDateTime[0]->startDate))
Start Date
{{ date('M',strtotime($dtDateTime[0]->startDate)) }} {{ date('d',strtotime($dtDateTime[0]->startDate)) }}, {{ date('Y',strtotime($dtDateTime[0]->startDate)) }}
@endif @if(isset($dtDateTime[0]->endDate) && !empty($dtDateTime[0]->endDate))
End Date
{{ date('M',strtotime($dtDateTime[0]->endDate)) }} {{ date('d',strtotime($dtDateTime[0]->endDate)) }}, {{ date('Y',strtotime($dtDateTime[0]->endDate)) }}
@endif @if(isset($dtDateTime[0]->timeSlotFrom[0]) && !empty($dtDateTime[0]->timeSlotFrom[0]))
Time
{{$dtDateTime[0]->timeSlotFrom[0]}} @if(isset($dtDateTime[0]->timeSlotTo[0]) && !empty($dtDateTime[0]->timeSlotTo[0])) - {{$dtDateTime[0]->timeSlotTo[0]}} @endif
@endif @if(isset($dtDateTime[0]->attendees[0]) && !empty($dtDateTime[0]->attendees[0]))
No of Attendees
{{$dtDateTime[0]->attendees[0]}}
@endif @if(isset($event->varAddress) && !empty($event->varAddress))
Location
{{$event->varAddress}}
@endif @endif
@if(isset($dtDateTime[0]->startDate) && !empty($dtDateTime[0]->startDate))
Start Date {{$dtDateTime[0]->startDate}}
@endif @if(isset($event->varAddress) && !empty($event->varAddress))
Location {{strlen($event->varAddress) > 20 ? substr($event->varAddress, 0, 20) . '...' : $event->varAddress}}
@endif

{{$event->varTitle}}

@if(isset($event->varShortDescription) && !empty($event->varShortDescription))

{{$event->varShortDescription}}

@endif @if($event->isRSVP == 'Y') RSVP Register @endif
@endforeach
@endif