Commit 0eae7c6a1501f74865bf6c169fad348553fefc88
1 parent
25927158cf
Exists in
master
método del servicio correcto
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
src/js/controller.js
... | ... | @@ -21,7 +21,7 @@ angular.module('focaCrearCobranza') .controller('cobranzaController', |
21 | 21 | if(APP === 'cobranza') { |
22 | 22 | var idCobrador = loginService.getLoginData().vendedorCobrador; |
23 | 23 | $scope.botonera = focaCrearCobranzaService.getBotonera(idCobrador); |
24 | - focaCrearCobranzaService.getVendedorById(idCobrador).then( | |
24 | + focaCrearCobranzaService.getCobradorById(idCobrador).then( | |
25 | 25 | function(res) { |
26 | 26 | var cobrador = res.data; |
27 | 27 | $scope.$broadcast('addCabecera', { |