@extends('employer::layouts.master') @section('pagetitle','Manage Interviews') @section('content')

{{ ucfirst($candidate->first_name) }} {{ ucfirst($candidate->last_name) }}

@include('employer::candidate.pageheader')
@if($question_attempt->count()>0)

Notice

Video Recordings will automatically erase after {{$candidate->employer->package->retain_video_prd}} days of being submitted. Download your recordings to always have them on hand or upgrade your package to maintain videos longer.

Videos

@if($candidate->status=='3') @endif
@foreach($questions as $key => $question) @if($question['attempt_exist']=='1')

Question {{$key+1}}: {{$question['question']}}

@if($question['question_comments']->count()>0) @foreach($question['question_comments'] as $commentkey => $candidatecomments)
@if($candidatecomments->system_msg !='') @elseif($candidatecomments->comments !='') {{nameFirstLetter($candidatecomments->employer->first_name)}}{{nameFirstLetter($candidatecomments->employer->last_name)}} @endif
@if($candidatecomments->system_msg !='') System Message @elseif($candidatecomments->comments !='') Comment @endif {{converdate($candidatecomments->created_at)}}
@if($candidatecomments->system_msg !='') {{$candidatecomments->system_msg}} @elseif($candidatecomments->comments !='') {{nameFirstLetter($candidatecomments->employer->first_name)}}{{nameFirstLetter($candidatecomments->employer->last_name)}} added a comment: {{$candidatecomments->comments}} @endif
@endforeach @endif
@if($question['attempt_exist'] && $question['record_file'] != '') @if(file_exists(public_path(Config::get('constants.CANDIDVIDEO_STORAGE_PATH')).$question['employer_id'].'/'.$question['record_file']))
00:00 00:00
@if($question['attempt_exist']) @if(file_exists(public_path(Config::get('constants.CANDIDVIDEO_STORAGE_PATH')).$question['employer_id'].'/'.$question['record_file']))
@endif @endif @else
{{Str::upper('Video Deleted')}}
@endif @else
{{Str::upper('UnAnswered')}}
@endif
@endif @endforeach @if($candidate->status=='1'||$candidate->status=='2')

Interview Not Completed

Your candidate has not yet completed this section.
Use the button below to resend your interview invite.
Resend Invite
@endif
@elseif($candidate->status==3)

Interview Completed

Your candidate has directly completed this section from admin. So the video is not present
@if($candidate->status=='1'||$candidate->status=='2')

Interview Not Completed

Your candidate has not yet completed this section.
Use the button below to resend your interview invite.
Resend Invite
@endif @endif
@endsection @section('scripts') @endsection