Commit 522d6b028e4d6bc146ebbcdadc409572d5c23005
1 parent
9df7ed27c6
Exists in
master
and in
1 other branch
Revert "Arreglo de alerta al editar valores producto"
This reverts commit 9df7ed27c60eab1e0bc913721bac727a1fa371c6.
Showing
1 changed file
with
0 additions
and
2 deletions
Show diff stats
src/js/controller.js
... | ... | @@ -828,8 +828,6 @@ angular.module('focaCrearNotaPedido').controller('notaPedidoCtrl', |
828 | 828 | if (!articulo.cantidad || !articulo.precio || !tmpCantidad || !tmpPrecio) { |
829 | 829 | focaModalService.alert('Los valores deben ser al menos 1'); |
830 | 830 | return; |
831 | - } else if (tmpCantidad === "0" || tmpPrecio === "0") { | |
832 | - focaModalService.alert('Esta ingresando un producto con valor 0'); | |
833 | 831 | } else if (articulo.cantidad < 0 || articulo.precio < 0) { |
834 | 832 | focaModalService.alert('Los valores no pueden ser negativos'); |
835 | 833 | return; |