From 9e1dec3ae514f975ef32ab320de0ce487e389323 Mon Sep 17 00:00:00 2001 From: Eric Fernandez Date: Mon, 8 Oct 2018 19:14:14 -0300 Subject: [PATCH] error en enviar variable idLista --- src/js/controller.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/js/controller.js b/src/js/controller.js index 418d37c..0ba0491 100644 --- a/src/js/controller.js +++ b/src/js/controller.js @@ -20,13 +20,14 @@ angular.module('focaCrearNotaPedido') $scope.notaPedido = notaPedidoTemp; $scope.notaPedido.flete = ($scope.notaPedido.flete).toString(); $scope.notaPedido.bomba = ($scope.notaPedido.bomba).toString(); - $scope.notaPedido.precioCondicion = 2; + idLista= $scope.notaPedido.precioCondicion; } else { $scope.notaPedido.fechaCarga = new Date(); $scope.notaPedido.domicilio = [{ id: 0 }] $scope.notaPedido.bomba = '1'; $scope.notaPedido.flete = '1'; + idLista = undefined; } $scope.addNewDom = function () { $scope.notaPedido.domicilio.push({ 'id': 0 }); -- 1.9.1