Detalles del Pago
Detalles del Pago
Volver
@if(session('error'))
@else
{{ session('error') }}
@endif
| ID Pago | {{ $payment->id ?? '-' }} |
| Usuario | {{ $payment->name ?? '-' }} |
| {{ $payment->email ?? '-' }} | |
| ID Documento | {{ $payment->document_id ?? '-' }} |
| Amount | ${{ number_format($payment->amount ?? 0, 2) }} |
| Status | {{ $payment->status ?? '-' }} |
| Fecha de Registro | {{ $payment->created_at ? \Carbon\Carbon::parse($payment->created_at)->format('d/m/Y H:i:s') : '-' }} |
Data de Formulario
@if(!empty($payment->original_json)) @php $jsonData = is_string($payment->original_json) ? json_decode($payment->original_json, true) : $payment->original_json; // Mapeo de campos a etiquetas más legibles $fieldLabels = [ 'toCountry' => 'País de Destino', 'fromCountry' => 'País de Origen', 'departure_country' => 'País de Salida', 'departure_city' => 'Ciudad de Salida', 'stay_city' => 'Ciudad de Estancia', 'arrival_date' => 'Fecha de Llegada', 'departure_date' => 'Fecha de Salida', 'email' => 'Email', 'email_confirmation' => 'Confirmación de Email', 'phone_code' => 'Código de Teléfono', 'phone' => 'Teléfono', 'migratory_checkpoint' => 'Punto de Control Migratorio', 'flight_number' => 'Número de Vuelo', 'price_option' => 'Opción de Precio', '_draft' => 'Borrador', 'first_name' => 'Nombre', 'last_name' => 'Apellido', 'birth_date' => 'Fecha de Nacimiento', 'nationality' => 'Nacionalidad', 'passport' => 'Pasaporte', 'passport_expiration_date' => 'Fecha de Expiración del Pasaporte', 'gender' => 'Género', 'firstName' => 'Nombre', 'lastName' => 'Apellido', 'birthDate' => 'Fecha de Nacimiento' ]; @endphp| Campo | Valor |
|---|---|
| Viajero {{ $index + 1 }} | |
| {{ isset($fieldLabels[$tKey]) ? $fieldLabels[$tKey] : ucwords(str_replace('_', ' ', $tKey)) }} | {{ $tValue ?? '-' }} |
| {{ $fieldName }} | {{ $displayValue }} |
No hay datos de formulario disponibles
@endif