@props([ 'interview', ]) @php $metrics = $interview->proctor_metrics; if ($interview->isExpired() && $interview->call_status === 'active') { $interview->update(['call_status' => 'ended', 'active_peers' => []]); $interview->call_status = 'ended'; } $loginUrl = route('interview.candidate.login'); $credentialsText = implode("\n", array_filter([ "Candidate Assessment Credentials", "--------------------------------", "Candidate: " . $interview->candidate_name . (!empty($interview->round) ? " ({$interview->round})" : ""), !empty($interview->job_title) ? "Position: {$interview->job_title}" : null, "Email: {$interview->candidate_email}", "Phone: {$interview->candidate_phone}", "Login URL: {$loginUrl}", "Temp Password: {$interview->temp_password}", "Timeline: {$interview->formatted_timeline}", ])); @endphp
{{ $interview->submission_unique_id }}