@php
$attachment = $application->attachments->where('type', \App\Models\ApplicationAttachment::TYPE_CERTIFICATE_COMPETENCY)->where('competency_id', $competency->id)->first();
@endphp
@if ($attachment)
[View Here]
@else
No documents available
@endif
No file selected
@php
$issueDateRequired = $competency->issue_date_required;
$expiryDateRequired = $competency->expiry_date_required;
@endphp