Section B: Supporting Documents

Relevant document related to the products applied, recognized by MGTC. (e.g., certificate, reports, and test reports) @foreach ($application->product_group->supportingDoc as $supportingDoc) @php $supportingDocReview = $certificateSection?->review->where('type', App\Models\EvaluatorReview::TYPE_SUPPORTING_DOC . "_$supportingDoc->id")->first(); $supportingDocIsComply = $supportingDocReview?->is_comply; @endphp
{{ $supportingDoc->name }}
@if ($supportingDocIsComply !== null && $supportingDocIsComply == 0) @endif
@php $attachment = $application->attachments->where('type', 'supporting_document')->where('supporting_document_id', $supportingDoc->id)->first(); @endphp
@if ($attachment) [View Here] @else No documents available @endif
Evaluator Review
id . '.is_comply', optional($supportingDocReview)->is_comply) == '1' ? 'checked' : '' }} disabled>
id . '.is_comply', optional($supportingDocReview)->is_comply) == '0' ? 'checked' : '' }} disabled>
@error('is_comply') {{ $message }} @enderror
@if (!$loop->last)
@endif @endforeach