- permite descuento al 100%
This commit is contained in:
@@ -9840,7 +9840,7 @@
|
|||||||
console.log("evento descuento");
|
console.log("evento descuento");
|
||||||
if ($get("TxtPorPS").value != "") {
|
if ($get("TxtPorPS").value != "") {
|
||||||
let PorcentajeDescuento = parseFloat($get("TxtPorPS").value);
|
let PorcentajeDescuento = parseFloat($get("TxtPorPS").value);
|
||||||
if (PorcentajeDescuento < 0 || PorcentajeDescuento > 99) {
|
if (PorcentajeDescuento < 0 || PorcentajeDescuento > 100) {
|
||||||
alert("No se puede aplicar ese porcentaje de descuento");
|
alert("No se puede aplicar ese porcentaje de descuento");
|
||||||
$get("TxtPorPS").value = "0";
|
$get("TxtPorPS").value = "0";
|
||||||
recalcularUtilidad(0);
|
recalcularUtilidad(0);
|
||||||
|
|||||||
Reference in New Issue
Block a user