diff --git a/src/js/controller.js b/src/js/controller.js index a5747f2..5a69fd7 100644 --- a/src/js/controller.js +++ b/src/js/controller.js @@ -16,7 +16,7 @@ angular.module('focaHojaRuta') $scope.now = new Date(); $scope.puntoVenta = '0000'; $scope.comprobante = '00000000'; - $scope.verDetalle = function(hojaRuta) { + $scope.verDetalle = function() { var modalInstance = $uibModal.open( { ariaLabelledBy: 'Detalle hoja ruta', @@ -38,7 +38,7 @@ angular.module('focaHojaRuta') ); modalInstance.result.then(function() { - }) + }); }; function addCabecera(label, valor) { @@ -49,13 +49,13 @@ angular.module('focaHojaRuta') $scope.cabecera.push({label: label, valor: valor}); } } - - function removeCabecera(label) { - var propiedad = $filter('filter')($scope.cabecera, {label: label}, true); - if(propiedad.length === 1) { - $scope.cabecera.splice($scope.cabecera.indexOf(propiedad[0]), 1); - } - } + //TODO Descomentar cuando se use + // function removeCabecera(label) { + // var propiedad = $filter('filter')($scope.cabecera, {label: label}, true); + // if(propiedad.length === 1) { + // $scope.cabecera.splice($scope.cabecera.indexOf(propiedad[0]), 1); + // } + // } function rellenar(relleno, longitud) { relleno = '' + relleno; diff --git a/src/views/lista-hoja-ruta.html b/src/views/lista-hoja-ruta.html index 615ccf1..ec6c683 100644 --- a/src/views/lista-hoja-ruta.html +++ b/src/views/lista-hoja-ruta.html @@ -86,7 +86,7 @@