Commit 244197f335a8998b47c69bc240e71a0ee233e49c
1 parent
79f8c0382b
Exists in
master
fix abrir modal domicilio
Showing
1 changed file
with
4 additions
and
1 deletions
Show diff stats
src/js/controller.js
| ... | ... | @@ -565,7 +565,10 @@ angular.module('focaCrearRemito') .controller('remitoController', |
| 565 | 565 | templateUrl: 'modal-domicilio.html', |
| 566 | 566 | controller: 'focaModalDomicilioController', |
| 567 | 567 | size: 'lg', |
| 568 | - resolve: { idCliente: function() { return cliente.cod; }} | |
| 568 | + resolve: { | |
| 569 | + idCliente: function() { return cliente.cod; }, | |
| 570 | + esNuevo: function() { return cliente.esNuevo; } | |
| 571 | + } | |
| 569 | 572 | } |
| 570 | 573 | ); |
| 571 | 574 | modalInstanceDomicilio.result.then( |