@php
use App\Models\ConteoInventarioDetalle;
@endphp
@if ($listadoConteosDeInventario->isEmpty())
No existen registros
@else
@foreach ($listadoConteosDeInventario as $tomaInventario)
{{ $tomaInventario->conteo_inventario_id }}
{{ $tomaInventario->sucursal_nombre }}
{{ $tomaInventario->usuario_nombre }}
@php
$cantidad = (new ConteoInventarioDetalle())->cantidadProductosConteoInventarioDetalle(
$tomaInventario->conteo_inventario_id,
);
@endphp
{{ $cantidad }}
{{ \FCR::fecha_completa($tomaInventario->created_at) }}
{{ \FCR::fecha_completa($tomaInventario->fin_conteo) }}
{{ $tomaInventario->estado }}
@endforeach
@endif