Commit 1e8ba4322ef6c7f62f1f046893ab0f75f8ad57f8
Exists in
master
and in
1 other branch
Merge branch 'master' into 'master'
Master See merge request !3
Showing
2 changed files
Show diff stats
src/js/controller.js
... | ... | @@ -35,5 +35,25 @@ angular.module('focaInformes') |
35 | 35 | } |
36 | 36 | ); |
37 | 37 | }; |
38 | + $scope.seleccionarLitrosPorKmRecorridosPorUnidadDeReparto = function() { | |
39 | + $uibModal.open( | |
40 | + { | |
41 | + ariaLabelledBy: 'Informes de litros por km recorridos por unidad de reparto', | |
42 | + templateUrl: 'modal-informe-litros-km-unidad.html', | |
43 | + controller: 'focaModalInformeLitrosKmUnidadController', | |
44 | + size: 'lg' | |
45 | + } | |
46 | + ); | |
47 | + }; | |
48 | + $scope.seleccionarInformeGeneralPorUnidadDeReparto = function() { | |
49 | + $uibModal.open( | |
50 | + { | |
51 | + ariaLabelledBy: 'Informe general por unidad de reparto', | |
52 | + templateUrl: 'modal-informe-general-unidad.html', | |
53 | + controller: 'focaModalInformeGeneralUnidadController', | |
54 | + size: 'lg' | |
55 | + } | |
56 | + ); | |
57 | + }; | |
38 | 58 | } |
39 | 59 | ]); |
src/js/service.js
... | ... | @@ -10,6 +10,14 @@ angular.module('focaInformes') |
10 | 10 | { |
11 | 11 | label: 'Choferes', |
12 | 12 | image: 'chofer.png' |
13 | + }, | |
14 | + { | |
15 | + label: 'Litros por km recorridos por unidad de reparto', | |
16 | + image: 'productos.png' | |
17 | + }, | |
18 | + { | |
19 | + label: 'Informe general por unidad de reparto', | |
20 | + image: 'flete.png' | |
13 | 21 | } |
14 | 22 | ]; |
15 | 23 | return result; |