Commit d007a1494ab274e7e6b1e13eb9e04894ec552c8f
Exists in
master
Merge remote-tracking branch 'upstream/master'
Showing
1 changed file
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 | } |