{{-- ===== FRONT SIDE ===== --}}
@if($background)
@endif
{{ $card->company?->name }}
@if($orientation === 'portrait')
@endif
@if (($allowFields['show_photo'] ?? false) == true)
{{ $card->employee?->first_name }}
@endif
{{ $card->employee?->first_name }} {{ $card->employee?->last_name }}
@if (($allowFields['show_designation'] ?? false) == true)
{{ $card->employee?->currentOrganizationAssignment?->designation?->full_title ?? 'N/A' }}
@endif @if (($allowFields['show_employee_id'] ?? false) == true) @endif @if (($allowFields['show_department'] ?? false) == true) @endif @if (($allowFields['show_blood_group'] ?? false) == true) @endif
Employee Code {{ $card->employee?->employee_no }}
Department {{ $card->employee?->currentOrganizationAssignment?->department?->department_name ?? 'N/A' }}
Blood Group {{ $card->employee?->blood_group }}
Card Number {{ $card?->card_number }}
Issue Date {{ $card?->issue_date->format('d M, Y') }}
Valid Till {{ $card?->expiry_date->format('d M, Y') }}
Signature
{{ $card->employeeIdCardSetting?->signatory_name }}
{{ $card->employeeIdCardSetting?->signatory_designation }}
@if (($allowFields['show_qr_code'] ?? false) == true)
QR Code
Scan to Verify
@endif
{{-- ===== BACK SIDE ===== --}}
Terms of use
{{ $card->employeeIdCardSetting?->terms_text ?? 'This card is the property of the company and must be returned upon request. If found, please return to the address below.' }}
Emergency contact {{ $card->employeeIdCardSetting?->emergency_contact_number ?? 'N/A' }}
@if (($allowFields['show_qr_code'] ?? false) == true)
Barcode
@endif