Commit 4a6b3aba36d20ddf525aae870694d947380b4502
1 parent
20704e3877
Exists in
master
refactor entidad vendedor-cobrador
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
src/js/service.js
1 | angular.module('focaModalVendedores') | 1 | angular.module('focaModalVendedores') |
2 | .service('focaVendedoresService', ['$http', 'API_ENDPOINT', function($http, API_ENDPOINT) { | 2 | .service('focaVendedoresService', ['$http', 'API_ENDPOINT', function($http, API_ENDPOINT) { |
3 | return { | 3 | return { |
4 | getVendedores: function(filters) { | 4 | getVendedores: function(filters) { |
5 | // TODO ACOMODAR PARA TURNOS AHORA 1 HARDCODEO | 5 | // TODO ACOMODAR PARA TURNOS AHORA 1 HARDCODEO |
6 | return $http.post(API_ENDPOINT.URL + '/vendedores', {nombre: filters}); | 6 | return $http.post(API_ENDPOINT.URL + '/vendedor/list', {nombre: filters}); |
7 | } | 7 | } |
8 | }; | 8 | }; |
9 | }]); | 9 | }]); |
10 | 10 |