Commit 2e56280b60ed2faed1ce0949bc302711734c1579

Authored by Luis Suarez
1 parent e941f54e46
Exists in develop

scope

Showing 1 changed file with 1 additions and 1 deletions   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) {