@extends('layouts.app') @section('title', 'Confirmar Venta con Descuentos') @section('content')
Producto | Precio Unitario | Cantidad | Subtotal | Descuento | Total Producto |
---|---|---|---|---|---|
{{ $item->producto->nombre }} | ${{ number_format($item->producto->precio, 2) }} | {{ $item->cantidad }} | ${{ number_format($subtotal, 2) }} | @if($tipoDescuento == 'porcentaje') {{ number_format($porcentajeDescuento, 2) }} % @else ${{ number_format($descuento, 2) }} @endif | ${{ number_format($totalProducto, 2) }} |
Subtotal: | ${{ number_format($total, 2) }} | ||||
Descuento General: | @if($descuentos['general']['tipo'] == 'porcentaje') {{ number_format($porcentajeDescuentoGeneral, 2) }} % @else ${{ number_format($descuentos['general']['monto'], 2) }} @endif | ||||
Método de Pago: | @if($metodoPagoSeleccionado) {{ $metodoPagoSeleccionado }} @else No seleccionado @endif | ||||
Total a Pagar: | ${{ number_format($totalConDescuento, 2) }} | ||||
Paga con: | ${{ number_format($pagaCon, 2) }} | ||||
Vuelto: | ${{ number_format($vuelto, 2) }} |