diff --git a/src/js/controller.js b/src/js/controller.js index 54327d8..3c80715 100644 --- a/src/js/controller.js +++ b/src/js/controller.js @@ -975,17 +975,7 @@ angular.module('focaCrearRemito').controller('remitoController', $scope.editarArticulo = function (key, articulo, tmpCantidad, tmpPrecio) { if (key === 13) { -<<<<<<< HEAD - var valorAEditar = bandera === 'precio' ? articulo.precio : articulo.cantidad; - var tempValor = bandera === 'precio' ? articulo.tmpPrecio - : articulo.tmpCantidad; - if (tempValor === undefined) { - return; - } - if (tempValor === '') { -======= if (!articulo.cantidad || !articulo.precio || !tmpCantidad || !tmpPrecio) { ->>>>>>> parent of 60be8ea... Arreglo alerta al editar campos del producto focaModalService.alert('Los valores deben ser al menos 1'); return; } else if (tmpCantidad === "0" || tmpPrecio === "0") {