Commit 28a47a876fdfa5bfe883a59d1c714996edb4340a
1 parent
f84b681d29
Exists in
master
and in
1 other branch
elimino variable innecesaria
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
src/js/service.js
| 1 | 1 | angular.module('focaCrearNotaPedido') |
| 2 | 2 | .service('crearNotaPedidoService', ['$http', 'API_ENDPOINT', function($http, API_ENDPOINT) { |
| 3 | 3 | var route = API_ENDPOINT.URL; |
| 4 | - var notaPedido = undefined; | |
| 5 | 4 | return { |
| 6 | 5 | crearNotaPedido: function(notaPedido) { |
| 7 | 6 | return $http.post(route + '/nota-pedido', {notaPedido: notaPedido}); |
| ... | ... | @@ -31,6 +30,7 @@ angular.module('focaCrearNotaPedido') |
| 31 | 30 | //EN DESARROLLO |
| 32 | 31 | getDomicilios: function(id) { |
| 33 | 32 | // return $http.get(route + '/'+id) |
| 33 | + id='le asigno un valor para pasar pre commit'; | |
| 34 | 34 | var domicilio = [ |
| 35 | 35 | { |
| 36 | 36 | id: 1, |