Commit 05c2d28e89a63ccb7de181f239e1e0f3dd420fee

Authored by Jose Pinto
1 parent 25d263945b
Exists in master and in 1 other branch develop

agrego Informe de reparto óptimo detallado

Showing 2 changed files with 20 additions and 0 deletions   Show diff stats
src/js/controller.js
... ... @@ -79,5 +79,21 @@ angular.module('focaInformes')
79 79 focaBotoneraLateralService.showTeclado(true);
80 80 });
81 81 };
  82 + $scope.seleccionarInformeDeRepartoÓptimoDetallado = function() {
  83 + focaBotoneraLateralService.showTeclado(false);
  84 + $uibModal.open(
  85 + {
  86 + ariaLabelledBy: 'Informe de reparto óptimo detallado',
  87 + templateUrl: 'informe-reparto-optimo.html',
  88 + controller: 'focaModalInformeRepartoOptimoController',
  89 + size: 'xl'
  90 + }
  91 + )
  92 + .result.then(function(){
  93 + focaBotoneraLateralService.showTeclado(true);
  94 + }, function(){
  95 + focaBotoneraLateralService.showTeclado(true);
  96 + });
  97 + };
82 98 }
83 99 ]);
... ... @@ -18,6 +18,10 @@ angular.module('focaInformes')
18 18 {
19 19 label: 'Informe general por unidad de reparto',
20 20 image: 'flete.png'
  21 + },
  22 + {
  23 + label: 'Informe de reparto óptimo detallado',
  24 + image: 'flete.png'
21 25 }
22 26 ];
23 27 return result;