Commit 55aef6d2b5f1d3a0a8e7fb205dd2f0d7ce1ea0a9
Exists in
master
Merge branch 'master' into 'develop'
Master(efernandez) See merge request !24
Showing
2 changed files
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