Commit 3ff10be5df06e2c33a833176cc0900f5a0bc97d7
1 parent
05c2d28e89
Exists in
master
and in
1 other branch
boton informe productividad
Showing
2 changed files
with
21 additions
and
0 deletions
Show diff stats
src/js/controller.js
| ... | ... | @@ -95,5 +95,22 @@ angular.module('focaInformes') |
| 95 | 95 | focaBotoneraLateralService.showTeclado(true); |
| 96 | 96 | }); |
| 97 | 97 | }; |
| 98 | + $scope.seleccionarInformeDeProductividad = function() { | |
| 99 | + focaBotoneraLateralService.showTeclado(false); | |
| 100 | + $uibModal.open( | |
| 101 | + { | |
| 102 | + ariaLabelledBy: | |
| 103 | + 'Informe de productividad de Vendedores / Cobradores / Transportistas', | |
| 104 | + templateUrl: 'informe-productividad.html', | |
| 105 | + controller: 'focaModalInformeProductividadController', | |
| 106 | + size: 'xl' | |
| 107 | + } | |
| 108 | + ) | |
| 109 | + .result.then(function(){ | |
| 110 | + focaBotoneraLateralService.showTeclado(true); | |
| 111 | + }, function(){ | |
| 112 | + focaBotoneraLateralService.showTeclado(true); | |
| 113 | + }); | |
| 114 | + }; | |
| 98 | 115 | } |
| 99 | 116 | ]); |
src/js/service.js