Especifica feria/cambio

This commit is contained in:
janeth arvizu
2019-11-05 10:43:42 -07:00
parent 23942cf7eb
commit 06c98f6c9b
2 changed files with 52 additions and 44 deletions

View File

@@ -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";
}