Envio de documento manual Egypt
{{ session('status') }}
@endif
@error('attachment')
{{ $message }}
@enderror
@php
$uploadedImagePath = public_path('uploads/egypt-images/' . $e->key);
$extensions = ['jpg', 'jpeg', 'png', 'gif'];
$uploadedImage = null;
foreach ($extensions as $ext) {
if (file_exists($uploadedImagePath . '.' . $ext)) {
$uploadedImage = $e->key . '.' . $ext;
break;
}
}
@endphp
@if($uploadedImage)
Archivo: {{ $uploadedImage }}
Tamaño: {{ round(filesize(public_path('uploads/egypt-images/' . $uploadedImage)) / 1024, 2) }} KB
@endif
Imagen adicional guardada
Archivo: {{ $uploadedImage }}
Tamaño: {{ round(filesize(public_path('uploads/egypt-images/' . $uploadedImage)) / 1024, 2) }} KB
@endif
Información del documento
| Key | {{ $e->key }} |
|---|---|
| Status | {{ $e->status }} |
| PROCESANDO | {{ $e->processing ?? 'No establecido' }} |
| {{ $fieldLabel }} | {{ $combinedPhone }} |
| {{ $fieldLabel }} | {{ $combinedPhone }} |
| {{ $fieldLabel }} | {{ $cleanAddress }} |
| {{ $fieldLabel }} | {{ $cleanHostAddress }} |
| {{ $fieldLabel }} | {{ is_array($e->data[$fieldKey]) ? json_encode($e->data[$fieldKey]) : $e->data[$fieldKey] }} |
| {{ ucwords(str_replace('_', ' ', $field)) }} |
@if(str_contains($field, 'passport_photo') && !empty($value))
@php
$imageUrl = 'https://arrivalcardegypt.com/storage/' . $value;
$uniqueId = md5($field . $value);
@endphp
Archivo: {{ basename($value) }}
@else
{{ is_array($value) ? json_encode($value) : $value }}
@endif
Ruta: {{ $value }} Tamaño: Calculando... |
| Travelers |
@php
$travelersData = $e->data['travelers'] ?? null;
$travelers = null;
if (!empty($travelersData)) {
$travelers = is_string($travelersData) ? json_decode($travelersData, true) : $travelersData;
}
@endphp
@if(is_array($travelers) && count($travelers) > 0)
{{ count($travelers) }} Travelers@foreach($travelers as $index => $traveler)Traveler {{ $index + 1 }}
@if(!empty($traveler['name']))
Name: {{ $traveler['name'] }} @endif @if(!empty($traveler['last_name']))Last Name: {{ $traveler['last_name'] }} @endif @if(!empty($traveler['birth_date']))Birth Date: {{ $traveler['birth_date'] }} @endif @if(!empty($traveler['gender']))Gender: {{ ucfirst($traveler['gender']) }} @endif @if(!empty($traveler['marital_status']))Marital Status: {{ ucfirst($traveler['marital_status']) }} @endif
@if(!empty($traveler['nationality']))
Nationality: {{ $traveler['nationality'] }} @endif @if(!empty($traveler['passport']))Passport: {{ $traveler['passport'] }} @endif @if(!empty($traveler['passport_expiration_date']))Passport Exp: {{ $traveler['passport_expiration_date'] }} @endif @if(!empty($traveler['passport_photo_id'])) @php $imageUrl = 'https://arrivalcardegypt.com/storage/passport_photos/' . $traveler['passport_photo_id'] . '.jpg'; $uniqueId = md5('traveler_' . $index . '_passport_' . $traveler['passport_photo_id']); @endphpPassport Photo: |
Panel de administración - Egypt