Commit 61b7b43e98f026a4ec256a7262dac40c0e61fa70
1 parent
36341c07ee
Exists in
master
guardo domicilio id
Showing
2 changed files
with
3 additions
and
3 deletions
Show diff stats
package.json
... | ... | @@ -52,7 +52,7 @@ |
52 | 52 | "foca-seguimiento": "git+https://debo.suite.repo/modulos-npm/foca-seguimiento.git", |
53 | 53 | "font-awesome": "^4.7.0", |
54 | 54 | "gulp": "^3.9.1", |
55 | - "gulp-angular-templatecache": "^2.2.3", | |
55 | + "gulp-angular-templatecache": "^2.2.5", | |
56 | 56 | "gulp-clean": "^0.4.0", |
57 | 57 | "gulp-concat": "^2.6.1", |
58 | 58 | "gulp-connect": "^5.6.1", |
src/js/controller.js
... | ... | @@ -310,7 +310,7 @@ angular.module('focaCrearNotaPedido') .controller('notaPedidoCtrl', |
310 | 310 | function(cliente) { |
311 | 311 | $scope.abrirModalDomicilios(cliente); |
312 | 312 | }, function() { |
313 | - | |
313 | + | |
314 | 314 | } |
315 | 315 | ); |
316 | 316 | }; |
... | ... | @@ -327,7 +327,7 @@ angular.module('focaCrearNotaPedido') .controller('notaPedidoCtrl', |
327 | 327 | ); |
328 | 328 | modalInstanceDomicilio.result.then( |
329 | 329 | function(domicilio) { |
330 | - $scope.notaPedido.domicilio.id = domicilio.nivel2; | |
330 | + $scope.notaPedido.domicilio.id = domicilio.id; | |
331 | 331 | $scope.notaPedido.cliente = cliente; |
332 | 332 | |
333 | 333 | addCabecera('Cliente:', cliente.nom); |