diff --git a/Ventas/PV.aspx b/Ventas/PV.aspx
index 5075a5c9c..266060f25 100644
--- a/Ventas/PV.aspx
+++ b/Ventas/PV.aspx
@@ -3273,8 +3273,8 @@
var totalVenta = ToDouble($get('TxtTotal').value);
- if (totalEfectivo > totalVenta) {
- $get("TxtCambio").value = FormatoNumero(totalEfectivo - totalVenta);
+ if (total > totalVenta) {
+ $get("TxtCambio").value = FormatoNumero(total - totalVenta);
} else {
$get("TxtCambio").value = "0.00";
}
diff --git a/Ventas/Ventas.aspx b/Ventas/Ventas.aspx
index f8ac7c2d6..fcf1ed714 100644
--- a/Ventas/Ventas.aspx
+++ b/Ventas/Ventas.aspx
@@ -2952,26 +2952,24 @@