Commit b09f4774f7e2bf0c8ce133841857e464cc35091b
1 parent
daa9c2101e
Exists in
master
and in
1 other branch
cambio condicionn edit cantidad
Showing
2 changed files
with
2 additions
and
2 deletions
Show diff stats
src/js/controller.js
... | ... | @@ -799,7 +799,7 @@ angular.module('focaCrearFactura').controller('facturaController', [ |
799 | 799 | } |
800 | 800 | |
801 | 801 | $scope.cambioEdit = function (articulo, propiedad) { |
802 | - if (propiedad === 'cantidad' && articulo.SUR !== 0) { | |
802 | + if (propiedad === 'cantidad' && articulo.SUR == 0) { | |
803 | 803 | articulo.editCantidad = true; |
804 | 804 | } |
805 | 805 | }; |
src/views/factura.html