Envio de documento manual - {{ $website }}

@if(session('status'))
{{ session('status') }}
@endif @error('attachment')
{{ $message }}
@enderror

Enviar documento a cliente

@php // Orden específico de campos importantes $orderedFields = [ 'last_name' => 'Last Name', 'name' => 'First Name', 'passport' => 'Passport', 'nationality' => 'Nationality', 'birth_date' => 'Date of Birth', 'gender' => 'Gender', 'country' => 'Country', 'phone_code' => 'Phone Code', 'phone' => 'Phone Number', 'arrival_date' => 'Arrival Date', 'departure_country' => 'Departure Country', 'purpose' => 'Purpose', 'flight_number' => 'Flight Number', 'province_hotel' => 'Province Hotel', 'address_hotel' => 'Address Hotel', 'email' => 'Email' ]; // Campos ya mostrados para evitar duplicados $shownFields = []; @endphp {{-- Mostrar campos en orden específico --}} @foreach($orderedFields as $fieldKey => $fieldLabel) @if(isset($entry->data[$fieldKey])) @php $shownFields[] = $fieldKey; @endphp @endif @endforeach {{-- Mostrar otros campos restantes --}} @foreach($entry->data as $field => $value) @if(!in_array($field, $shownFields)) @endif @endforeach
Key{{ $entry->key }}
Status{{ $entry->status }}
{{ $fieldLabel }} @if(is_array($entry->data[$fieldKey])) {{ json_encode($entry->data[$fieldKey], JSON_PRETTY_PRINT) }} @else {{ $entry->data[$fieldKey] }} @endif
{{ ucwords(str_replace('_', ' ', $field)) }} @if(is_array($value)) {{ json_encode($value, JSON_PRETTY_PRINT) }} @else {{ $value }} @endif
Panel de administración - UK
@include('layouts.partials.footer')