@foreach ($productosDisponibles as $producto) @endforeach
Agregar Producto
{{-- Tabla del detalle --}}
@forelse($detalle as $p) @empty @endforelse
Producto Cantidad Precio Unitario Subtotal Acción
{{ $p['nombre'] }} {{ $p['cantidad'] }} Bs {{ number_format($p['precio_unitario'], 2) }} Bs {{ number_format($p['subtotal'], 2) }}
Agrega productos a esta venta.
{{-- Total --}}
Total: Bs {{ number_format($total, 2) }}
Cancelar Venta Ir al método de pago
Confirmar ventas Ya falta poco para completar tu compra.
@foreach ($tipo_pagos as $tipo_pago) @endforeach
@php $tieneOpciones = false; @endphp @foreach ($promociones as $promocion) @if($promocion->descuento > 0) @php $tieneOpciones = true; @endphp @endif @endforeach @if(session('cliente') && isset(session('cliente')['descuento']) && session('cliente')['descuento'] > 0) @php $tieneOpciones = true; @endphp @endif @unless($tieneOpciones) @endunless
Completar venta por Bs {{ number_format($total, 2) }}