Commit 9f460b26ce2dd026461283fff8bec62c1ab022de
1 parent
bd6424ad36
Exists in
master
and in
2 other branches
añadir cabecera correcta
Showing
1 changed file
with
5 additions
and
5 deletions
 
Show diff stats
src/js/controller.js
| ... | ... | @@ -216,7 +216,7 @@ angular.module('focaCrearHojaRuta') .controller('hojaRutaCtrl', | 
| 216 | 216 | modalInstance.result.then( | 
| 217 | 217 | function(chofer) { | 
| 218 | 218 | $scope.hojaRuta.chofer = chofer; | 
| 219 | - addCabecera('Chofer: ' + chofer.nombre); | |
| 219 | + addCabecera('Chofer: ', chofer.nombre); | |
| 220 | 220 | }, function() { | 
| 221 | 221 | // funcion ejecutada cuando se cancela el modal | 
| 222 | 222 | } | 
| ... | ... | @@ -236,9 +236,9 @@ angular.module('focaCrearHojaRuta') .controller('hojaRutaCtrl', | 
| 236 | 236 | modalInstance.result.then( | 
| 237 | 237 | function(vehiculo) { | 
| 238 | 238 | $scope.hojaRuta.vehiculo = vehiculo; | 
| 239 | - addCabecera('Tractor: ' + vehiculo.tractor); | |
| 240 | - addCabecera('Semi: ' + vehiculo.semi); | |
| 241 | - addCabecera('Capacidad: ' + vehiculo.capacidad); | |
| 239 | + addCabecera('Tractor: ', vehiculo.tractor); | |
| 240 | + addCabecera('Semi: ', vehiculo.semi); | |
| 241 | + addCabecera('Capacidad: ', vehiculo.capacidad); | |
| 242 | 242 | }, function() { | 
| 243 | 243 | // funcion ejecutada cuando se cancela el modal | 
| 244 | 244 | } | 
| ... | ... | @@ -263,7 +263,7 @@ angular.module('focaCrearHojaRuta') .controller('hojaRutaCtrl', | 
| 263 | 263 | modalInstance.result.then( | 
| 264 | 264 | function(tarifario) { | 
| 265 | 265 | $scope.hojaRuta.tarifario = tarifario; | 
| 266 | - addCabecera('Tarifario: ' + tarifario.costo); | |
| 266 | + addCabecera('Tarifario: ', tarifario.costo); | |
| 267 | 267 | }, function() { | 
| 268 | 268 | // funcion ejecutada cuando se cancela el modal | 
| 269 | 269 | } |