@if(count($detallecierre) > 0) @php($count = 0) @php($aux = 0) @foreach($detallecierre as $item) @php($aux += $item->monto) @php($count++) @endforeach
Detalle Ingreso
{{ $item->detalle }} {{ $item->monto }}
DEPOSITO EN EFECTIVO {{$aux}}
INGRESO DEL DIA {{\Carbon\Carbon::parse( $detallecierre[0]->created_at)->format('d-m-Y')}} {{$aux}}
@else
No se encontró detalle de caja de cierre
@endif