Commit 23ade8a094ac36f23dcd6480b2c197441043acb7
1 parent
4000a4a242
Exists in
master
envío valor sugerido a modal efectivo
Showing
1 changed file
with
4 additions
and
1 deletions
Show diff stats
src/js/controller.js
| ... | ... | @@ -380,7 +380,10 @@ angular.module('focaCrearCobranza') .controller('cobranzaController', |
| 380 | 380 | ariaLabelledBy: 'Carga de cheques', |
| 381 | 381 | templateUrl: 'modal-efectivo.html', |
| 382 | 382 | controller: 'focaModalEfectivoController', |
| 383 | - size: 'sm' | |
| 383 | + size: 'sm', | |
| 384 | + resolve: { | |
| 385 | + sugerido: function() {return $scope.getTotalDeuda();} | |
| 386 | + } | |
| 384 | 387 | } |
| 385 | 388 | ); |
| 386 | 389 | modalInstance.result.then( |