Consulta de póliza

@if ($auto) Aquí puedes ver la información de la póliza {{ $auto->poliza }}




Principal


Coberturas

@if ($this->auto) @php // Decodificar las coberturas $coberturas = json_decode($auto->coberturas, true); @endphp @if (is_array($coberturas) && count($coberturas) > 0) @foreach ($coberturas as $cobertura) @php // Asignar valores de cobertura, valor y observaciones $coberturaNombre = $cobertura['cobertura']; $valor = trim($cobertura['suma_asegurada']) === '' ? 'NO DISPONIBLE' : $cobertura['suma_asegurada']; $observaciones = trim($cobertura['deducible']) === '' ? 'NO DISPONIBLE' : $cobertura['deducible']; @endphp @endforeach @else @endif @else @endif
Cobertura Valor Deducible
{{ $coberturaNombre }} {{ $valor }} {{ $observaciones }}
No hay coberturas disponibles.
No hay información en auto disponibles.

Vehículo

Documentos

Documentos

@if ($auto) @php $solicitud = json_decode($auto, true); $documentos = array_filter( $solicitud, fn($value, $key) => Str::startsWith($key, 'doc') && !empty($value), ARRAY_FILTER_USE_BOTH, ); @endphp @if (count($documentos) > 0) @foreach ($documentos as $key => $value) {{ ucwords(str_replace('_', ' ', strtoupper($key))) }} @endforeach @else

No hay documentos disponibles.

@endif @endif

Historial de Envío

@forelse($correos as $correo) @empty @endforelse
Destinatario Asunto Estatus Fecha de Envío
{{ $correo['recipient'] }} {{ $correo['subject'] }} {{ $correo['status'] }} {{ \Carbon\Carbon::parse($correo['created_at'])->format('d/m/Y H:i:s') }}
No hay información en el historial de envío disponibles.
@else No hay información que mostrar @endif
@push('css') @endpush @push('js') @endpush