Commit 5594ced8aa1d6b0ba305f43619e1012d6c1fcada
Exists in
master
and in
1 other branch
Merge branch 'master' into 'master'
Master See merge request !7
Showing
2 changed files
Show diff stats
src/js/controller.js
... | ... | @@ -25,9 +25,9 @@ angular.module('focaInformes') |
25 | 25 | size: 'xl' |
26 | 26 | } |
27 | 27 | ) |
28 | - .result.then(function(){ | |
28 | + .result.then(function() { | |
29 | 29 | focaBotoneraLateralService.showTeclado(true); |
30 | - }, function(){ | |
30 | + }, function() { | |
31 | 31 | focaBotoneraLateralService.showTeclado(true); |
32 | 32 | }); |
33 | 33 | }; |
... | ... | @@ -41,9 +41,9 @@ angular.module('focaInformes') |
41 | 41 | size: 'xl' |
42 | 42 | } |
43 | 43 | ) |
44 | - .result.then(function(){ | |
44 | + .result.then(function() { | |
45 | 45 | focaBotoneraLateralService.showTeclado(true); |
46 | - }, function(){ | |
46 | + }, function() { | |
47 | 47 | focaBotoneraLateralService.showTeclado(true); |
48 | 48 | }); |
49 | 49 | }; |
... | ... | @@ -57,9 +57,9 @@ angular.module('focaInformes') |
57 | 57 | size: 'xl' |
58 | 58 | } |
59 | 59 | ) |
60 | - .result.then(function(){ | |
60 | + .result.then(function() { | |
61 | 61 | focaBotoneraLateralService.showTeclado(true); |
62 | - }, function(){ | |
62 | + }, function() { | |
63 | 63 | focaBotoneraLateralService.showTeclado(true); |
64 | 64 | }); |
65 | 65 | }; |
... | ... | @@ -73,9 +73,9 @@ angular.module('focaInformes') |
73 | 73 | size: 'xl' |
74 | 74 | } |
75 | 75 | ) |
76 | - .result.then(function(){ | |
76 | + .result.then(function() { | |
77 | 77 | focaBotoneraLateralService.showTeclado(true); |
78 | - }, function(){ | |
78 | + }, function() { | |
79 | 79 | focaBotoneraLateralService.showTeclado(true); |
80 | 80 | }); |
81 | 81 | }; |
... | ... | @@ -89,9 +89,26 @@ angular.module('focaInformes') |
89 | 89 | size: 'xl' |
90 | 90 | } |
91 | 91 | ) |
92 | - .result.then(function(){ | |
92 | + .result.then(function() { | |
93 | 93 | focaBotoneraLateralService.showTeclado(true); |
94 | - }, function(){ | |
94 | + }, function() { | |
95 | + focaBotoneraLateralService.showTeclado(true); | |
96 | + }); | |
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() { | |
95 | 112 | focaBotoneraLateralService.showTeclado(true); |
96 | 113 | }); |
97 | 114 | }; |
src/js/service.js