@php $logo='data:image/png;base64,'.base64_encode(file_get_contents(public_path('images/morbrick-brand.png'))); @endphp
@if($certificate->status!=='issued')
{{ strtoupper($certificate->status) }}
@endif
@include('pdf.partials.company-letterhead')

COMPLETION CERTIFICATE

CERTIFICATE NO. {{ $certificate->certificate_number }}

This certificate records the completion of the contracted works described below and provides a formal basis for client inspection and acceptance.

Client{{ $certificate->customer->name }}Certificate date{{ $certificate->certificate_date->format('d M Y') }}
Project{{ $certificate->project_title }}
Location{{ $certificate->project_location ?: 'Not specified' }}LPO number{{ $certificate->lpo_number ?: 'Not provided' }}
Invoice{{ $certificate->invoice?->invoice_number ?: 'Not linked' }}Proforma{{ $certificate->proforma?->proforma_number ?: 'Not linked' }}
Start date{{ $certificate->work_started_at?->format('d M Y') ?: 'Not recorded' }}Completion date{{ $certificate->work_completed_at->format('d M Y') }}
Contractor{{ $certificate->contractor_name }}Contract amount{{ $certificate->currency }} {{ number_format((float)$certificate->contract_amount,2) }}

Completed scope of work

{{ $certificate->scope_of_work }}
{{ $certificate->completion_statement }}
@if($certificate->remarks)

Remarks: {{ $certificate->remarks }}

@endif @if($qrCode && $verificationUrl)
Verification QR codeSCAN TO VERIFY DOCUMENT AUTHENTICITYThis QR code opens Morbrick's signed verification record and confirms the current status and sealed document fingerprint.
Verification ID: {{ $certificate->verification_token }}
@endif
For the client
{{ $certificate->client_signatory_name ?: 'Name and signature' }}
{{ $certificate->client_signatory_title ?: 'Title / designation' }} | Date
For {{ $certificate->contractor_name }}
{{ $certificate->contractor_signatory_name ?: $certificate->creator->name }}
{{ $certificate->contractor_signatory_title ?: 'Authorized representative' }} | Date