@include('partials._events_submenu') @if(!\Auth::guest() && \Auth::user()->role->name == 'su') @endif
{{-- Mobile --}}
@if($event)

{{ $event->name }}

@else
No content found
@endif
Details
Time: {{date('D h:i a',strtotime($event->start_at))}}
Affiliation: {{$event->affiliation_type->name}}
Type: {{ $event->type->name }}
@if($event->location) Location: {{ $event->location->name }} @if($event->location->room) - {{ $event->location->room }} @if($event->location->address && $event->location->city && $event->location->state_id && $event->location->country_id && $event->location->postal_code) (Map) @endif @endif
@endif @if($event->description) {{--
--}} Description:
{!! $event->description !!}
@endif
@php $participantcount = 0; @endphp
Participants
@forelse($event->event_user()->whereNotNull('user_id')->whereNotNull('confirmed_at')->get() as $eu) {{$eu->event_role->name}} @if($eu->event_role->name == 'Reader') {{$eu->event_role->name}} @endif @if(\Auth::user() && \Auth::user()->role->name == "su") - {{ucwords(strtolower($eu->user->short_name))}} - @else - {{ucwords(strtolower($eu->user->short_name))}} - @endif {{ucwords(strtolower($eu->user->city))}}, {{strtoupper($eu->user->state)}}
@php $participantcount ++; @endphp @empty (None) @php $participantcount = 0; @endphp @endforelse
Resources
@if(isset($participantcount) && $participantcount > 0)
My Schedule Options
Add/Remove from My Schedule
@if(\Auth::user()) @if(\Auth::user()->my_schedule()->where('event_id', $event->id)->first()) @else @endif @endif

@if(\Auth::user() && \Auth::user()->my_schedule()->where('event_id', $event->id)->first()) Get a Text reminder
@if(\Auth::user()->mobile_verified && \App\Models\MySchedule::where('user_id', \Auth::user()->id)->where('event_id', $event->id)->where('send_sms', 1)->first()) {{-- Remove Text Reminder --}} Remove this text reminder
@elseif(\Auth::user()->mobile_verified) {{-- Send Text Reminder --}} Send a text reminder 10 minutes before this meeting
@else Add mobile number
@endif
@endif
@endif @if($event->event_type_id != '10')
Service opportunities for this meeting
@php $count=0; @endphp @if($event->event_type_id != 4 || $event->event_type_id != 11) @foreach($event->event_user()->whereNull('confirmed_at')->get() as $eu)
{{$eu->event_role->name}}
{{$eu->event_role->description}} @php $count++; @endphp
@endforeach
@endif @if($event->event_type_id == 4 || $event->event_type_id == 11) @forelse ($event->event_user as $eu) No opportunities available @empty Role: Marathon Leader
Description: Lead the marathon meeting
@endforelse @endif @if($count < 1 && $event->event_type_id != 4)
No opportunities available
@endif
@endif
@livewire('footer-links')