Commit d0370d79a5614aaf8893abe8c88c1a59108028a6
Exists in
master
and in
1 other branch
Merge branch 'master' into 'develop'
Master(mpuebla) See merge request !119
Showing
1 changed file
Show diff stats
src/js/controller.js
... | ... | @@ -428,7 +428,7 @@ angular.module('focaCrearRemito').controller('remitoController', |
428 | 428 | }; |
429 | 429 | |
430 | 430 | $scope.seleccionarProductos = function () { |
431 | - varlidarRemitoFacturado(); | |
431 | + if (!varlidarRemitoFacturado()) return; | |
432 | 432 | if ($scope.notaPedido.id !== 0) { |
433 | 433 | $scope.idLista = parseInt($scope.notaPedido.idListaPrecio); |
434 | 434 | } |