Commit 5b3159bd85354c7e29adf2a7e6ca7b1503644df9
Exists in
master
and in
1 other branch
Merge branch 'master' into 'master'
Master See merge request !27
Showing
2 changed files
Show diff stats
src/js/controller.js
... | ... | @@ -169,7 +169,8 @@ angular.module('focaAdminSeguimiento').controller('focaAdminSeguimientoControlle |
169 | 169 | break; |
170 | 170 | case 'hoja-ruta': |
171 | 171 | if (datos.data.length) { |
172 | - valor = $scope.idUsuario + ' - ' + datos.data[0] | |
172 | + valor = datos.data[0].hojaRutaMovimiento.remito.hojaRuta | |
173 | + .vehiculo.codigo + ' - ' + datos.data[0] | |
173 | 174 | .hojaRutaMovimiento.remito.hojaRuta.vehiculo.tractor.trim(); |
174 | 175 | } else { |
175 | 176 | valor = $scope.idUsuario; |
src/js/osm-directive.js
... | ... | @@ -174,7 +174,7 @@ angular.module('focaAdminSeguimiento').directive('osm', function() { |
174 | 174 | var observacion = ''; |
175 | 175 | var remito = marcador.hojaRutaMovimiento.remito; |
176 | 176 | observacion += 'Vehiculo: ' + |
177 | - remito.hojaRuta.idVehiculo + ' - ' + | |
177 | + remito.hojaRuta.vehiculo.codigo + ' - ' + | |
178 | 178 | remito.hojaRuta.vehiculo.tractor + '<br/>'; |
179 | 179 | observacion += 'Transportista: ' + |
180 | 180 | remito.hojaRuta.transportista.NOM + '<br/>'; |