@foreach ($data as $venta)
@if ($venta->medio_pago=="EFECTIVO")
@endif
@if ($venta->medio_pago=="YAPE")
@endif
@if ($venta->medio_pago=="PLIN")
@endif
@if ($venta->medio_pago=="TARJETA")
@endif
@if ($venta->medio_pago=="OTRO")
@endif
@if (!$venta->medio_pago)
@endif
@endforeach
TOTAL VENDIDO :
S/ {{ $total != null ? $total : '0.00' }}
Total en EFECTIVO :
S/ {{ number_format($efectivo, 2, '.', ',') }}
Total con YAPE:
S/ {{ number_format($yape, 2, '.', ',') }}
Total con PLIN :
S/ {{ number_format($plin, 2, '.', ',') }}
Total con TARJETA :
S/ {{ number_format($tarjeta, 2, '.', ',') }}
Total con OTROS :
S/ {{ number_format($otro, 2, '.', ',') }}