Commit 3ff10be5df06e2c33a833176cc0900f5a0bc97d7

Authored by Jose Pinto
1 parent 05c2d28e89
Exists in master

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 ]);
... ... @@ -22,6 +22,10 @@ angular.module('focaInformes')
22 22 {
23 23 label: 'Informe de reparto óptimo detallado',
24 24 image: 'flete.png'
  25 + },
  26 + {
  27 + label: 'Informe de productividad',
  28 + image: 'chofer.png'
25 29 }
26 30 ];
27 31 return result;