Commit 56bebfc37ddbe1df7df7e8d059531ba1759b702d
1 parent
f8fa37ae69
Exists in
master
Paso domicilio como parametro
Showing
1 changed file
with
3 additions
and
2 deletions
Show diff stats
src/js/controller.js
| ... | ... | @@ -20,7 +20,7 @@ angular.module('focaCrearNotaPedido') .controller('notaPedidoCtrl', |
| 20 | 20 | $rootScope, focaSeguimientoService, APP, focaLoginService, $localStorage) |
| 21 | 21 | { |
| 22 | 22 | config(); |
| 23 | - | |
| 23 | + | |
| 24 | 24 | function config() { |
| 25 | 25 | // PARAMETROS INICIALES PARA FUNCIONAMIENTO DEL PROGRAMA |
| 26 | 26 | $scope.notaPedido = {}; |
| ... | ... | @@ -313,7 +313,8 @@ angular.module('focaCrearNotaPedido') .controller('notaPedidoCtrl', |
| 313 | 313 | idDomicilio: $scope.notaPedido.domicilio.id, |
| 314 | 314 | idCliente: $scope.notaPedido.cliente.COD, |
| 315 | 315 | articulos: $scope.notaPedido.articulosNotaPedido, |
| 316 | - puntosDescarga: $scope.notaPedido.notaPedidoPuntoDescarga | |
| 316 | + puntosDescarga: $scope.notaPedido.notaPedidoPuntoDescarga, | |
| 317 | + domicilio: $scope.notaPedido.domicilio | |
| 317 | 318 | } |
| 318 | 319 | } |
| 319 | 320 | } |