@php $publishedDate = $result->published_at?->format('F d, Y') ?? now()->format('F d, Y'); $testDate = $result->session?->submitted_at?->format('F d, Y') ?? $publishedDate; $isModern = $certificateSetting->template === \App\Models\CertificateSetting::TEMPLATE_TOEFL_MODERN; @endphp
@if ($isModern)
@endif
{{ $certificateSetting->organization_name }} @if ($isModern) TOEFL @endif

{{ $certificateSetting->organization_subtitle }}

{{ $certificateSetting->certificate_title }}

{{ $certificateSetting->certificate_subtitle }}

This is to certify that

{{ $result->user?->name ?? 'Participant' }}

has successfully completed the TOEFL institutional test and has achieved the following scores.

Listening{{ $result->listening_scaled_score ?? '-' }} Structure{{ $result->structure_scaled_score ?? '-' }} Reading{{ $result->reading_scaled_score ?? '-' }} Total{{ $result->total_scaled_score ?? '-' }}
@if ($isModern)
TOTAL SCORE
{{ $result->total_scaled_score ?? '-' }}
scaled
@endif