@php
$authorizationLetter = $application->attachments->where('type', 'authorization_letter')->first();
@endphp
@if ($authorizationLetter)
@endif
@php
$alReview = null;
if ($certificate && $certificate->review) {
$alReview = $certificate->review->where('type', App\Models\EvaluatorReview::TYPE_AUTHORIZATION)->first();
}
@endphp