@php $editPermission = user()->permission('edit_events'); $deletePermission = user()->permission('delete_events'); $attendeesIds = $event->attendee->pluck('user_id')->toArray(); @endphp
@lang('app.attendeesEmployee')
@foreach ($event->attendee as $item) @if(in_array('employee', $item->user->roles->pluck('name')->toArray()))
@lang('app.attendeesClients')
@foreach ($event->attendee as $item) @if(in_array('client', $item->user->roles->pluck('name')->toArray()))
@lang('app.host')
@if ($event->user)
@lang('app.status')
@if ($event->status == 'pending'){{ ucfirst($event->status) }}
@elseif ($event->status == 'completed'){{ ucfirst($event->status) }}
@elseif ($event->status == 'cancelled'){{ ucfirst($event->status) }}
@endif