@php $pct = round($score); $isPassed = $passed; $bgColor = $isPassed ? '#d1fae5' : '#fee2e2'; $txtColor = $isPassed ? '#065f46' : '#991b1b'; $hdrBg = $isPassed ? '#059669' : '#dc2626'; @endphp

{{ $isPassed ? '✅ Test Passed' : '📋 Test Completed' }}

{{ config('hrms.company','HR Management System') }}

Hello, {{ $recipientName }}
@if($isHrView)

The following test result has been received for your review:

@else

Thank you for completing your test. Here are your results:

@endif
{{ $pct }}%
{{ $isPassed ? 'PASSED' : 'NOT PASSED' }}
@if($isHrView)
Candidate / Employee {{ $takerName }}
Email {{ $takerEmail }}
@endif
Test {{ $testTitle }}
{{ $context === 'recruitment' ? 'Position Applied For' : 'Training Programme' }} {{ $contextLabel }}
Score {{ $pct }}%
Pass Mark {{ round($passScore) }}%
Result {{ $isPassed ? 'PASSED' : 'NOT PASSED' }}
Platform {{ $source === 'moodle' ? 'Moodle LMS' : 'Synergy Assessment' }}
@if(!$isHrView) @if($context === 'recruitment')

Your score has been recorded and will be considered as part of the overall evaluation for the position. Our HR team will be in touch regarding next steps in the recruitment process.

@else

Your score has been recorded against your training programme. It may count towards your performance evaluation. Contact your manager or HR if you have any questions.

@endif @else

This score has been automatically recorded in Synergy HRM @if($context === 'recruitment') against the applicant's recruitment scoring criteria @else against the employee's training record and evaluation criteria @endif. Please log in to the system to review and take any further action.

@endif