Section B: Service Competency

Relevant document related to the products applied, recognized by MGTC. (e.g., certificate, reports, and test reports) @foreach ($application->product_group->competency as $competency)
{{ $competency->name }}
@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
Evaluator Review
@php $competencyReview = null; if ($certificate_section && $certificate_section->review) { $competencyReview = $certificate_section->review->where('type', App\Models\EvaluatorReview::TYPE_CERTIFICATE_COMPETENCY . "_$competency->id")->first(); } @endphp
id . '.is_comply', optional($competencyReview)->is_comply) == '1' ? 'checked' : '' }} onchange="updateLabel('competency_{{ $competency->id }}')">
id . '.is_comply', optional($competencyReview)->is_comply) == '0' ? 'checked' : '' }} onchange="updateLabel('competency_{{ $competency->id }}')">
@error('is_comply') {{ $message }} @enderror

id . '.competency_no_expiry_date', is_null($attachment?->extra?->expiry_date)))>
extra?->send_to_approver) ? 'checked' : '' }}>
@if (!$loop->last)
@endif @endforeach