@foreach($mi_details as $mi_data)
@php
$is_active = ($loop->index == 0)?"active":"";
$insurance_company = $mi_data['insurance_company'];
$insurance_guides = $mi_data['insurance_guides'];
@endphp
Following is your medical insurance details.
- Full Name
- {{ $mi_data['first_name'].' '.$mi_data['last_name'] }}
- Email
- {{ $mi_data['email_address'] }}
- Policy Number
- {{ $mi_data['policy'] }}
- Insurance Period
- From: {{ dateformat($mi_data['start'],'M d, Y') }} To: {{ dateformat($mi_data['end'],'M d, Y') }}
- Insurance Status
- {{ $mi_data['status'] }}
- ATTENTION: YOU CAN DOWNLOAD THE OFFICIAL DOCUMENTS RELATED TO YOUR MEDICAL INSURANCE BELOW!
@if(!empty($insurance_guides))
@foreach($insurance_guides as $file)
@php
$file = (array) $file;
$dcode = encrypt([
'dcode' => $file['download_code'],
'doc_filename' => $file['name']
]);
@endphp
- {{ $file['name'] }}
@endforeach
@endif
@endforeach