@php $total = $stt = $ste = 0; @endphp @foreach ($transacciones_caja as $item) @php $ste += $item->efectivo; $total += $item->efectivo; $stt += $item->tarjeta; $total += $item->tarjeta; @endphp @endforeach
Anexo de caja de Sucursal {{ $bodega->bodega }}
Caja {{ $user->name }}
Fecha {{ $request->fecha }}
Documento Cliente Factura Efectivo Tarjeta
{{ $item->documento }} {{ $item->nombre_cliente }} {{ $item->factura }} ${{ number_format($item->efectivo, 2) }} ${{ number_format($item->tarjeta, 2) }}
Sub Total {{ number_format($ste, 2) }} {{ number_format($stt, 2) }}
TOTAL {{ number_format($total, 2) }}