@foreach ($inventarios ?? [] as $item) @endforeach
Equipo Patente Detalle tecnico Inicio Finalización Contador Estado
@if (($item->foto())?? null) {{$item->foto()->nombre}} @else sin imagen @endif {{ $item->nombre ?? null }} {{ $item->patente }} {{ $item->descripcion }} {{ date('d/m/Y', strtotime($item->alquilerUltimo->fecha_inicio)) }} {{ date('d/m/Y', strtotime($item->alquilerUltimo->fecha_fin)) }} {{ $item->alquilerUltimo->contador()??null }} {{$item->estadoAlquiler}}