diff --git a/src/js/controller.js b/src/js/controller.js index 190fa9f..ba95a1a 100644 --- a/src/js/controller.js +++ b/src/js/controller.js @@ -799,7 +799,7 @@ angular.module('focaCrearFactura').controller('facturaController', [ } $scope.cambioEdit = function (articulo, propiedad) { - if (propiedad === 'cantidad' && articulo.SUR !== 0) { + if (propiedad === 'cantidad' && articulo.SUR == 0) { articulo.editCantidad = true; } }; diff --git a/src/views/factura.html b/src/views/factura.html index 65026c4..61af1da 100644 --- a/src/views/factura.html +++ b/src/views/factura.html @@ -153,7 +153,7 @@
-
+