Commit 3db891c88e7bdb2686f52f67593a0cea87a94b78
1 parent
1e30fd1c90
Exists in
master
and in
1 other branch
muestro vehiculos del usuario
Showing
2 changed files
with
6 additions
and
0 deletions
 
Show diff stats
src/js/controller.js
| ... | ... | @@ -26,6 +26,9 @@ angular.module('focaLogisticaPedidoRuta') .controller('focaLogisticaPedidoRutaCo | 
| 26 | 26 | focaBotoneraLateralService.showPausar(false); | 
| 27 | 27 | focaBotoneraLateralService.showGuardar(false); | 
| 28 | 28 | |
| 29 | + focaLogisticaPedidoRutaService.getVehiculosByIdUsuario().then(function(res) { | |
| 30 | + $scope.vehiculos = res.data; | |
| 31 | + }); | |
| 29 | 32 | |
| 30 | 33 | $scope.general = function() { | 
| 31 | 34 | $scope.idVendedor = 0; | 
src/js/service.js