@extends('adminlte::page') @section('title', 'Detalles del Hecho') @section('content_header')

Detalles del Hecho

@stop @section('content')

Información Registrada

{{-- Calle --}}

{{ $hecho->calle }}

{{-- Color --}}

{{ $hecho->colonia }}

{{-- Fecha del Hecho --}}

{{ $hecho->fecha ?? 'No especificada' }}

{{-- Descripción --}}

{{ $hecho->descripcion }}

{{-- Área relacionada --}}

{{ $hecho->area ?? 'No especificada' }}

{{-- Estado del hecho --}}

{{ $hecho->estado }}

{{-- ---- ROW Responsbale y Evidencia ---- --}}

{{ $hecho->responsable->nombre ?? 'No asignado' }}

@if ($hecho->evidencia) Ver Evidencia @else

No hay evidencia adjunta.

@endif
{{-- <-- CERRAMOS este .row correctamente --}} {{-- ---- NUEVO ROW para Vehículos ---- --}}

Vehículos Asociados

@if($hecho->vehiculos->count())
@foreach($hecho->vehiculos as $vehiculo)
{{ $vehiculo->marca }} - {{ $vehiculo->modelo }}
@if($vehiculo->fotos) @else

No hay foto disponible.

@endif @if ($vehiculo->corralon !== null) Ver Liberación @else

No está en corralón

@endif
@endforeach
@else

No hay vehículos asociados a este hecho.

@endif

{{-- Botón de regreso --}}
@stop @section('css') @stop @section('js') @stop