@php $addInterviewPermission = user()->permission('add_interview_schedule'); $editInterviewSchedulePermission = user()->permission('edit_interview_schedule'); $deleteInterviewSchedulePermission = user()->permission('delete_interview_schedule'); @endphp
{{ $event->schedule_date->setTimeZone(company()->timezone)->format($company->date_format. ' , ' . $company->time_format) }}
{{ ($event->jobApplication->job->title) }}
@php $secEmp = []; foreach($event->employees as $usrdt){ $secEmp[] = $usrdt->id; } $employeeStatus = $event->employeesData->filter(function ($value, $key) use ($loggedEmployee) { return $value->user_id == $loggedEmployee->id; })->first(); @endphp @if (in_array($loggedEmployee->id, $secEmp)) @if ($employeeStatus->user_accept_status == 'accept') @elseif($employeeStatus->user_accept_status == 'refuse') @else