@if($staff_details['verificationStatus'] == 'PRINTED') @else @endif
@if($staff_details['verificationStatus'] == 'PRINTED' || $staff_details['verificationStatus'] == 'REPRINTED')
Application id
{{$staff_details['applicationId']}}
@endif
@if($staff_details['verificationStatus'] == 'PRINTED' || $staff_details['verificationStatus'] == 'REPRINTED')
Application Barcode
{{$staff_details['barcode']}}
@endif
@if($staff_details['verificationStatus'] == 'APPROVED') @endif @if($staff_details['verificationStatus'] == 'PRINTED') @endif
Profile Image
{{$staff_details['firstName']}} {{$staff_details['middleName']}} {{$staff_details['lastName']}}
{{$staff_details['designationDetails']}}
{{$staff_details['city']}}
{{$staff_details['accreditationTypeName']}}
@php // Get access areas from staff details $accessAreas = $staff_details['vendorAccessAreaList'] ?? []; // Filter only selected access areas $selectedAreas = collect($accessAreas) ->filter(fn($area) => $area['isSelectedByStaff']) ->values(); // Extract access area codes $codes = $selectedAreas->pluck('accessAreaCode')->toArray(); // Fill 6 positions with blank initially $finalBoxes = array_fill(0, 6, ''); // Populate the boxes with numeric codes foreach ($codes as $code) { if (is_numeric($code)) { $position = (int)$code - 1; if ($position >= 0 && $position < 6) { $finalBoxes[$position] = $code; } } } // If '#' is in codes, place it at the last position if (in_array('#', $codes)) { $finalBoxes[5] = '#'; } @endphp
@for ($row = 0; $row < 2; $row++)
@for ($col = 0; $col < 3; $col++) @php $index = $row * 3 + $col; @endphp
{{ $finalBoxes[$index] ?: '' }}
@endfor
@endfor
  • Father's Name:
    {{$staff_details['fatherName']}}
  • Gender:
    {{$staff_details['gender']}}
  • Date of Birth:
    {{$staff_details['dob']}}
  • Address:
    {{$staff_details['addressLine1']}}
  • Address Line 2:
    {{$staff_details['addressLine2']}}
  • Country:
    {{$staff_details['country']}}
  • State:
    {{$staff_details['state']}}
  • City:
    {{$staff_details['city']}}
  • Pincode:
    {{$staff_details['postalCode']}}
  • Only Concourse Access:
    {{ $staff_details['onlyConcourseAccess'] ? 'Yes' : 'No' }}
  • @if($staff_details['onlyConcourseAccess'] == false)
  • Access Areas:
    {{$staff_details['accessAreas'] }}
  • @endif
Uploaded Document
100%
Id Proof Front Details

Id Type: {{$staff_details['idType']}}

Id Number: {{$staff_details['idNumber']}}

Uploaded Document
100%
Id Proof Back Details

Id Type: {{$staff_details['idType']}}

Id Number: {{$staff_details['idNumber']}}