Commit e7d58ba3d2ea8b59964d7161d94a672d5afbcd73
Exists in
develop
Merge branch 'develop' into 'develop'
Develop See merge request !146
Showing
1 changed file
Show diff stats
src/js/controller.js
... | ... | @@ -959,7 +959,7 @@ angular.module('focaCrearRemito').controller('remitoController', |
959 | 959 | if (!$scope.articuloACargar.cantidad || !$scope.articuloACargar.precio) { |
960 | 960 | focaModalService.alert('Debes introducir algún valor'); |
961 | 961 | return; |
962 | - } else if (scope.articuloACargar.cantidad === '0' || scope.articuloACargar.precio === '0') { | |
962 | + } else if ($scope.articuloACargar.cantidad === '0' || $scope.articuloACargar.precio === '0') { | |
963 | 963 | focaModalService.alert('Esta ingresando un producto con valor 0'); |
964 | 964 | return; |
965 | 965 | } else if ($scope.articuloACargar.cantidad < 0 || $scope.articuloACargar.precio < 0) { |