Commit 4a20a29adffd345d7bafcb7e07480e53ef80f551
1 parent
7745e40787
Exists in
master
and in
1 other branch
Cambio en la ventana "Crear domicilios" - envio de latitud y longitud
Showing
2 changed files
with
8 additions
and
4 deletions
Show diff stats
src/js/controller.js
| ... | ... | @@ -51,7 +51,7 @@ angular.module('focaModalDomicilio') |
| 51 | 51 | angular.element('#search')[0].focus(); |
| 52 | 52 | $scope.filters = ''; |
| 53 | 53 | }); |
| 54 | - }else { | |
| 54 | + } else { | |
| 55 | 55 | primera(); |
| 56 | 56 | } |
| 57 | 57 | } |
| ... | ... | @@ -201,7 +201,7 @@ angular.module('focaModalDomicilio') |
| 201 | 201 | |
| 202 | 202 | $scope.localizarDomicilio = function(localizar) { |
| 203 | 203 | var direccion = null; |
| 204 | - if(localizar) { | |
| 204 | + if (localizar) { | |
| 205 | 205 | direccion = { |
| 206 | 206 | calle: $scope.domicilio.calle, |
| 207 | 207 | numero: $scope.domicilio.numeroCalle, |
| ... | ... | @@ -216,7 +216,11 @@ angular.module('focaModalDomicilio') |
| 216 | 216 | controller: 'focaModalLocalizarController', |
| 217 | 217 | size: 'lg', |
| 218 | 218 | resolve: { |
| 219 | - direccion: direccion | |
| 219 | + parametros: { | |
| 220 | + direccion: direccion, | |
| 221 | + latitud: '', | |
| 222 | + longitud:'' | |
| 223 | + } | |
| 220 | 224 | } |
| 221 | 225 | } |
| 222 | 226 | ); |
src/views/modal-domicilio.html
| ... | ... | @@ -2,7 +2,7 @@ |
| 2 | 2 | <div class="row w-100"> |
| 3 | 3 | <div class="col-lg-6"> |
| 4 | 4 | <h5 class="modal-title my-1" ng-hide="ingreso">Búsqueda de Domicilios</h5> |
| 5 | - <h5 class="modal-title my-1" ng-show="ingreso">Crear domicilio</h5> | |
| 5 | + <h5 class="modal-title my-1" ng-show="ingreso">Crear domicilios de descarga</h5> | |
| 6 | 6 | </div> |
| 7 | 7 | <div class="input-group col-lg-6 pr-0 my-2"> |
| 8 | 8 | <input |