{{ __('Section 4: Document Submission') }}

@php $mainCertReview = null; if ($certificate && $certificate->review) { $mainCertReview = $certificate->review->where('type', App\Models\EvaluatorReview::TYPE_CERTIFICATE)->first(); } @endphp
SSM E-Profile
{{ $application->company->company_name }}
Sustainable Policy
{{ $application->policy_name }}
{{ $policy->is_comply == 1 ? 'Comply' : 'Not Comply' }}
{{ $policy->remarks ?? '-' }}
{{ $policy->notes ?? '-' }}
Competency Document(s)
@foreach ($application->product_group->competency as $competency) @php $attachment = $application->attachments->where('type', \App\Models\ApplicationAttachment::TYPE_CERTIFICATE_COMPETENCY)->where('competency_id', $competency->id)->first(); @endphp
{{ $attachment ? basename($attachment->path) : '-' }}
{{ $attachment?->extra?->competency_type ? \App\Models\Application::COMPETENCY_TYPE[$attachment->extra?->competency_type] : '-' }}
{{ $attachment?->extra?->certified_name }}
{{ $attachment?->extra?->issuing_body ? getApplicationDataValue($attachment->extra?->issuing_body) : '-' }}
{{ $attachment?->extra?->issuingCountry?->name }}
@php $competencyReview = null; if ($certificate && $certificate->review) { $competencyReview = $certificate->review->where('type', App\Models\EvaluatorReview::TYPE_CERTIFICATE_COMPETENCY . '_' . $competency->id)->first(); } @endphp
{{ $competencyReview?->is_comply == 1 ? 'Comply' : 'Not Comply' }}
{{ $competencyReview?->remarks ?? '-' }}
{{ $competencyReview?->notes ?? '-' }}
@endforeach
Standard Operating Procedure (SOP)
{{ $application->sop_name }}
{{ $sop->is_comply == 1 ? 'Comply' : 'Not Comply' }}
{{ $sop->remarks ?? '-' }}
{{ $sop->notes ?? '-' }}

Project Leader Review

{{ $document?->is_comply == 1 ? 'Comply' : 'Not Comply' }}
{{ $document->remarks ?? '' }}