Monto Inicial
${{ number_format($apertura->monto_inicial, 2) }}
@php
$cashSales = $apertura->sales->where('payment_method', 'cash')->where('is_internal', false)->sum('total');
$otherSales = $apertura->sales->where('payment_method', '!=', 'cash')->where('is_internal', false)->sum('total');
$internalUse = $apertura->sales->where('is_internal', true)->sum('total');
@endphp
Ventas Efectivo
+${{ number_format($cashSales, 2) }}
Efectivo Esperado
${{ number_format($apertura->monto_inicial + $cashSales, 2) }}
Ventas Otros Métodos (Tarjeta/Transf.)
${{ number_format($otherSales, 2) }}
Consumo Interno (No afecta caja)
${{ number_format($internalUse, 2) }}