Commit 304ab2418e0ab32abc13439ec3486604b9f803c3

Authored by Eric Fernandez
1 parent 61c9443742
Exists in master

pre-commit

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;
src/views/lista-hoja-ruta.html
... ... @@ -86,7 +86,7 @@
86 86 <th>sucursal</th>
87 87 <th>idTransportista</th>
88 88 <th>idChofer</th>
89   - <th>idVeh?culo</th>
  89 + <th>idVehiculo</th>
90 90 <th></th>
91 91 </tr>
92 92 </thead>