Commit 304ab2418e0ab32abc13439ec3486604b9f803c3
1 parent
61c9443742
Exists in
master
pre-commit
Showing
2 changed files
with
10 additions
and
10 deletions
Show diff stats
src/js/controller.js
... | ... | @@ -16,7 +16,7 @@ angular.module('focaHojaRuta') |
16 | 16 | $scope.now = new Date(); |
17 | 17 | $scope.puntoVenta = '0000'; |
18 | 18 | $scope.comprobante = '00000000'; |
19 | - $scope.verDetalle = function(hojaRuta) { | |
19 | + $scope.verDetalle = function() { | |
20 | 20 | var modalInstance = $uibModal.open( |
21 | 21 | { |
22 | 22 | ariaLabelledBy: 'Detalle hoja ruta', |
... | ... | @@ -38,7 +38,7 @@ angular.module('focaHojaRuta') |
38 | 38 | ); |
39 | 39 | modalInstance.result.then(function() { |
40 | 40 | |
41 | - }) | |
41 | + }); | |
42 | 42 | }; |
43 | 43 | |
44 | 44 | function addCabecera(label, valor) { |
... | ... | @@ -49,13 +49,13 @@ angular.module('focaHojaRuta') |
49 | 49 | $scope.cabecera.push({label: label, valor: valor}); |
50 | 50 | } |
51 | 51 | } |
52 | - | |
53 | - function removeCabecera(label) { | |
54 | - var propiedad = $filter('filter')($scope.cabecera, {label: label}, true); | |
55 | - if(propiedad.length === 1) { | |
56 | - $scope.cabecera.splice($scope.cabecera.indexOf(propiedad[0]), 1); | |
57 | - } | |
58 | - } | |
52 | + //TODO Descomentar cuando se use | |
53 | + // function removeCabecera(label) { | |
54 | + // var propiedad = $filter('filter')($scope.cabecera, {label: label}, true); | |
55 | + // if(propiedad.length === 1) { | |
56 | + // $scope.cabecera.splice($scope.cabecera.indexOf(propiedad[0]), 1); | |
57 | + // } | |
58 | + // } | |
59 | 59 | |
60 | 60 | function rellenar(relleno, longitud) { |
61 | 61 | relleno = '' + relleno; |