@php $color = (string) ($color ?? 'black'); $color_hex= $color=='black'?"#000000":"#13442c"; $licenseVersion = (string) ($licenseVersion ?? 'print'); $isQrVersion = $licenseVersion === 'qr'; @endphp @php $headerLogoPath = $color === 'black' ? public_path('assets/images/pdf/header-b.png') : public_path('assets/images/pdf/header.png'); $footerLogoPath = $color === 'black' ? public_path('assets/images/pdf/footer-b.png') : public_path('assets/images/pdf/footer.png'); $headerLogoBase64 = is_file($headerLogoPath) ? 'data:'.(mime_content_type($headerLogoPath) ?: 'image/jpeg').';base64,'.base64_encode(file_get_contents($headerLogoPath)) : null; $footerLogoBase64 = is_file($footerLogoPath) ? 'data:'.(mime_content_type($footerLogoPath) ?: 'image/jpeg').';base64,'.base64_encode(file_get_contents($footerLogoPath)) : null; $partners = collect($partners ?? [])->values(); $authorizedPartner = $partners->first()?->citizen; $detail = $craft->detail; $fileNumber = (string) ($craft->file_number ?: $craft->id); $streetName = (string) ($craft->street?->name ?: '-'); $craftTypeName = (string) ($craft->type?->name ?: '-'); $craftName = (string) ($craft->craft_name ?: '-'); $officialCompanyName = (string) ($craft->official_company_name ?: '-'); $authorizedPartnerName = (string) ($authorizedPartner?->full_name ?: '-'); $authorizedPartnerNationalId = (string) ($authorizedPartner?->national_id ?: '-'); $authorizedPartnerMobile = (string) ($authorizedPartner?->mobile ?: '-'); $commercialAddress = (string) ($craft->location_text ?: '-'); $postalCode = (string) ($craft->postal_code ?: '-'); $siteOwnerName = (string) ($detail?->building_owner ?: '-'); $craftLeaderAdjective = (string) ($detail?->craft_leader_adjective ?: '-'); $firstLicenseDate = $craft->first_year ? (string) $craft->first_year : '-'; @endphp
@if($headerLogoBase64)
@endif

{{ __('modules.craft.resources_views_pages_follow_up_print_license_joint_stock.text_7a1c0c0959') }}

{{ __('modules.craft.resources_views_pages_follow_up_print_license_joint_stock.text_133c488365') }} {{ $licenseNumber }}

{{ __('modules.craft.resources_views_pages_follow_up_print_license_joint_stock.text_a257f8d906') }}
{{ $officialCompanyName }}
{{ __('modules.craft.resources_views_pages_follow_up_print_license_joint_stock.text_c7de02eff3') }}
{{ $craft->company_type ?: '-' }}
{{ __('modules.craft.resources_views_pages_follow_up_print_license_joint_stock.text_9821827bef') }}
{{ $authorizedPartnerName }}
{{ __('modules.craft.resources_views_pages_follow_up_print_license_joint_stock.text_8fc48f25fc') }}
{{ $authorizedPartnerNationalId }}
{{ __('modules.craft.resources_views_pages_follow_up_print_license_joint_stock.text_43a640f313') }}
{{ $authorizedPartnerMobile }}
{{ __('modules.craft.resources_views_pages_follow_up_print_license_joint_stock.text_64caa2411f') }}
{{ $craftTypeName }}
{{ __('modules.craft.resources_views_pages_follow_up_print_license_joint_stock.text_c26fb15160') }}
{{ $craft->licensed_operator_number ?: '-' }}
{{ __('modules.craft.resources_views_pages_follow_up_print_license_joint_stock.text_99dd51b443') }}
{{ $craftName }}
{{ __('modules.craft.resources_views_pages_follow_up_print_license_joint_stock.text_a95d625f70') }}
{{ $fileNumber }}
{{ __('modules.craft.resources_views_pages_follow_up_print_license_joint_stock.text_e94264d098') }}
{{ $commercialAddress }}
building_1_line
{{ __('modules.craft.resources_views_pages_follow_up_print_license_joint_stock.text_d99d884862') }}
{{ $siteOwnerName }}
{{ __('modules.craft.resources_views_pages_follow_up_print_license_joint_stock.text_25dad4cd9f') }}
{{ $streetName }}
{{ __('modules.craft.resources_views_pages_follow_up_print_license_joint_stock.text_27b7f66220') }}
{{ $craft->building_number ?: '-' }}
{{ __('modules.craft.resources_views_pages_follow_up_print_license_joint_stock.text_108b5d2322') }}
{{ $craft->street_map_number ?: '-' }}
{{ __('modules.craft.resources_views_pages_follow_up_print_license_joint_stock.text_ef85f4fd9d') }}
{{ $postalCode }}
{{ __('modules.craft.resources_views_pages_follow_up_print_license_joint_stock.text_9a4fa73ed4') }}
{{ $craft->block_number ?: '-' }}
{{ __('modules.craft.resources_views_pages_follow_up_print_license_joint_stock.text_1cd867e584') }}
{{ $craft->parcel_number ?: '-' }}
{{ __('modules.craft.resources_views_pages_follow_up_print_license_joint_stock.text_bb6517f0cf') }}
{{ $issueDate }}
{{ __('modules.craft.resources_views_pages_follow_up_print_license_joint_stock.text_1e2fda0ea8') }}
{{ $expiryDate }}
{{ __('modules.craft.resources_views_pages_follow_up_print_license_joint_stock.text_b36f4fe3f0') }}
{{ $firstLicenseDate }}

{{ __('modules.craft.resources_views_pages_follow_up_print_license_joint_stock.text_c085054c19') }}

{{ __('modules.craft.resources_views_pages_follow_up_print_license_joint_stock.text_bde9e75613') }}

{{ $license->municipality_departments_notes ?: '-' }}

{{ __('modules.craft.resources_views_pages_follow_up_print_license_joint_stock.text_3874c2763b') }}

{{ $license->civil_defense_labor_notes ?: '-' }}
law-building

{{ __('modules.craft.resources_views_pages_follow_up_print_license_joint_stock.text_a2c0725a91') }}

{{ $license->other_government_authorities_notes ?: '-' }}


@if($isQrVersion)
سلطة الترخيص
شعبة الحرف والمهن
@if(! empty($qrCodeDataUri)) QR CODE @else
@endif
اصدق / رئيس بلدية البريج
م. ايمن عبد العزيز الدويك
@else
سلطة الترخيص
شعبة الحرف والمهن
@if(! empty($qrCodeDataUri)) QR CODE @else
QR CODE
@endif
اصدق / رئيس بلدية البريج
م. ايمن عبد العزيز الدويك
@endif
@if($footerLogoBase64) @endif

{{ __('modules.craft.resources_views_pages_follow_up_print_license_joint_stock.text_9334abe04d') }} {{ $officialCompanyName }}

{{ __('modules.craft.resources_views_pages_follow_up_print_license_joint_stock.text_7159e1e33d') }} {{ $craft->licensed_operator_number ?: '-' }}

{{ __('modules.craft.resources_views_pages_follow_up_print_license_joint_stock.text_1a6de26d52') }}

@forelse($partners as $index => $partner) @empty @endforelse
# {{ __('modules.craft.resources_views_pages_follow_up_print_license_joint_stock.text_c91b67e456') }} {{ __('modules.craft.resources_views_pages_follow_up_print_license_joint_stock.text_8ce6711e19') }} {{ __('modules.craft.resources_views_pages_follow_up_print_license_joint_stock.text_0cc73f25c3') }}
{{ $index + 1 }} {{ $partner->citizen?->full_name ?: '-' }} {{ $partner->citizen?->national_id ?: '-' }} {{ $partner->citizen?->mobile ?: '-' }}
{{ __('modules.craft.resources_views_pages_follow_up_print_license_joint_stock.text_aed15fe917') }}

{{ __('modules.craft.resources_views_pages_follow_up_print_license_joint_stock.text_9f51ada814') }}

  1. {{ __('modules.craft.resources_views_pages_follow_up_print_license_joint_stock.text_a39899e8bf') }}
  2. صدرت هذه الرخصة بموجب النظام القانوني الصادر عن بلدية البريج رقم (2) لسنة 2021 والمنشور في الوقائع الفلسطينية، العدد (102) لسنة 2021
  3. {{ __('modules.craft.resources_views_pages_follow_up_print_license_joint_stock.text_7482616727') }}
  4. لا يمكن الاحتجاج بهذا الرخصة بمواجهة البلدية او الغير للادعاء بشرعية وسلامة البناء التنظيمية التي يتم مزاولة الحرفة فيه، او بما يتعلق بعقد الايجار واية إشكالات ناشئة عنه
  5. يلتزم طالب الترخيص باستيفاء وتلبية كافة الاشتراطات التنظيمية اللازمة حسب الاصول من حيث ترخيص البناء وكافة ما يلزم من استيفاء الموافقات اللازمة من الدفاع المدني والجهات المختصة
  6. {{ __('modules.craft.resources_views_pages_follow_up_print_license_joint_stock.text_df9ed84c69') }}
  7. {{ __('modules.craft.resources_views_pages_follow_up_print_license_joint_stock.text_cf44a4e4ee') }}
  8. {{ __('modules.craft.resources_views_pages_follow_up_print_license_joint_stock.text_c5c678cb70') }}
@if($isQrVersion)
@if(! empty($qrCodeDataUri)) QR CODE @else
@endif
اصدق / رئيس بلدية البريج
م. ايمن عبد العزيز الدويك
@else
@if(! empty($qrCodeDataUri)) QR CODE @else
QR CODE
@endif
اصدق / رئيس بلدية البريج
م. ايمن عبد العزيز الدويك
@endif