@php $addPermission = user()->permission('add_job_application'); $viewPermission = user()->permission('view_job_application'); $editPermission = user()->permission('edit_job_application'); $deletePermission = user()->permission('delete_job_application'); @endphp
@if ($viewPermission == 'all' || $viewPermission == 'added') # @lang('recruit::modules.front.fullName') @lang('recruit::modules.interviewSchedule.interviewer') @lang('recruit::modules.interviewSchedule.scheduleDate') @lang('app.status') @lang('app.action') @forelse($interviewSchedule as $key => $follow) {{ $key + 1 }} {!! $follow->full_name != '' ? ucfirst(nl2br($follow->full_name)) : '--' !!} @php $emp = $follow->employeesData; @endphp
@if (count($emp) > 0) @foreach ($emp as $key => $member) @if ($key < 4) @php $position = $key > 0 ? 'position-absolute' : ''; @endphp @endif @endforeach @endif @if (count($emp) > 4)
@endif {{ $follow->schedule_date->translatedFormat(company()->date_format . ' ' . company()->time_format) }} @if ($editInterviewSchedulePermission != 'none' && ( $editInterviewSchedulePermission == 'all' || ($editInterviewSchedulePermission == 'added' && $row->added_by == user()->id) || ($editInterviewSchedulePermission == 'owned' && $row->user_id == user()->id) || ($editInterviewSchedulePermission == 'both' && ($row->user_id == user()->id || $row->added_by == user()->id)) )) @endif
@empty @endforelse
@endif