@foreach ($productosDisponibles as $producto)
@endforeach
Agregar Producto
{{-- Tabla del detalle --}}
| Producto |
Cantidad |
Precio Unitario |
Subtotal |
Acción |
@forelse($detalle as $p)
| {{ $p['nombre'] }} |
{{ $p['cantidad'] }} |
Bs {{ number_format($p['precio_unitario'], 2) }} |
Bs {{ number_format($p['subtotal'], 2) }} |
|
@empty
|
Agrega productos a esta venta.
|
@endforelse
{{-- 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) }}