@php $headerLogoPath = public_path('assets/images/pdf/header-b.png'); if (! is_file($headerLogoPath)) { $headerLogoPath = public_path('assets/images/pdf/header.png'); } $headerLogoBase64 = null; if (is_file($headerLogoPath)) { $headerLogoMime = mime_content_type($headerLogoPath) ?: 'image/jpeg'; $headerLogoBase64 = 'data:'.$headerLogoMime.';base64,'.base64_encode(file_get_contents($headerLogoPath)); } @endphp
@if($headerLogoBase64)
@endif

{{ $certificate->title }}

رقم الشهادة: {{ $certificate->certificate_number }}
{{ __('modules.certificates.resources_views_templates_living.text_a8cb44d5ae') }}
{{ $certificate->type?->name ?: '-' }}
{{ __('modules.certificates.resources_views_templates_living.text_730a2a4aec') }}
{{ $certificate->citizen?->full_name ?: '-' }}
{{ __('modules.certificates.resources_views_templates_living.text_bd1365aaa4') }}
{{ $certificate->issue_date?->format('Y-m-d') }}
{{ __('modules.certificates.resources_views_templates_living.text_c692227289') }}
{{ $certificate->expiry_date?->format('Y-m-d') ?: '-' }}
@if(! empty($qrCodeDataUri)) Certificate QR @endif