{{ $venta->fecha->format('d/m/Y H:i') }}
Cliente: {{ $venta->cliente->nombre ?? 'Sin nombre' }}
Método de pago: {{ $venta->tipoPago->nombre }}
| Producto | Cant | Precio | Subtotal |
|---|---|---|---|
| {{ $detalle->producto->nombre }} | {{ $detalle->cantidad }} | Bs {{ number_format($detalle->precio_unitario, 2) }} | Bs {{ number_format($detalle->subtotal, 2) }} |
| No hay productos en esta venta. | |||
Subtotal: ${{ number_format($venta->subtotal, 2) }}
@if($venta->descuento > 0)Descuento: ${{ number_format($venta->descuento, 2) }}
@endifTotal: ${{ number_format($venta->total, 2) }}
¡Gracias por su compra!