Commit e223f86c221c21ced8c36cc96bbb0e1367442bb7
1 parent
4391e36fcf
Exists in
master
and in
1 other branch
codigo para vehiculo en hoja de ruta
Showing
2 changed files
with
3 additions
and
2 deletions
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/>'; |