Commit a1147c0f6567d55fae45bfcaf6ee08796112257c

Authored by Eric Fernandez
1 parent b185d5af57
Exists in master

agrego servicios para de precios y condiciones

Showing 1 changed file with 13 additions and 5 deletions   Show diff stats
... ... @@ -20,19 +20,27 @@ angular.module('focaCrearNotaPedido')
20 20 var domicilio = [
21 21 {
22 22 id: 1,
23   - nombre: 'godoy Cruz'
  23 + dom: 'RISSO PATRON 781'
24 24 },
25 25 {
26 26 id: 2,
27   - nombre: 'capital'
  27 + dom: 'MARIANO MORENO 533'
28 28 },
29 29 {
30 30 id: 3,
31   - nombre: 'mendoza'
  31 + dom: 'SALTA 796'
32 32 }
33 33 ]
34   - return
  34 + return domicilio;
  35 + },
  36 + getPrecioCondicion: function() {
  37 + return $http.get(route + '/precio-condicion')
  38 + },
  39 + getPrecioCondicionById: function(id) {
  40 + return $http.get(route + '/precio-condicion/' + id)
  41 + },
  42 + getPlazoPagoByPrecioCondicion: function(id) {
  43 + return $http.get(route + '/plazo-pago/precio-condicion/'+ id)
35 44 }
36 45 }
37 46 }])
38   -
39 47 \ No newline at end of file