@lang('modules.interviewSchedule.interviewSchedule')

@lang('modules.interviewSchedule.scheduleEditDetail')

@if($currentDateTimestamp <= $schedule->schedule_date->timestamp && $user->cans('edit_schedule')) @endif
@lang('modules.interviewSchedule.job')

{{ ucwords($schedule->jobApplication->job->title).' ('.ucwords($schedule->jobApplication->job->location->location).')' }}


@lang('app.interviewOn')

{{ $schedule->schedule_date->format('H:i A , d-m-Y ') }}


@lang('modules.interviewSchedule.assignedEmployee')
@lang('modules.interviewSchedule.employeeResponse')
@forelse($schedule->employee as $key => $emp )

{{ ucwords($emp->user->name) }}

@if($emp->user_accept_status == 'accept') @elseif($emp->user_accept_status == 'refuse') @else @endif
@empty
@lang('modules.interviewSchedule.noEmployeeAssigned')
@endforelse

@lang('modules.interviewSchedule.candidateDetail')

@lang('app.name')

{{ ucwords($schedule->jobApplication->full_name) }}

@lang('app.email')

{{ $schedule->jobApplication->email }}

@lang('app.phone')

{{ $schedule->jobApplication->phone }}

@if ($schedule->jobApplication->resume_url) @lang('app.view') @lang('modules.jobApplication.resume') @endif

@if($schedule->jobApplication->schedule->comments == 'interview' && count($application->schedule->comments) > 0)
@lang('modules.interviewSchedule.comments')
@forelse($schedule->jobApplication->schedule->comments as $key => $comment )

{{ $comment->user->name }}

{{ $comment->comment }}

@empty @endforelse @endif