Commit 23f574b6e8eee43006e5b3891480ec228e0c69dd
1 parent
9521c95d03
Exists in
master
and in
1 other branch
- Cambios según code review.
- Agregué botón búsqueda de nota pedido.
Showing
3 changed files
with
11 additions
and
2 deletions
Show diff stats
README.md
src/js/service.js
... | ... | @@ -3,6 +3,7 @@ angular.module('focaCrearRemito') |
3 | 3 | var route = API_ENDPOINT.URL; |
4 | 4 | return { |
5 | 5 | crearRemito: function(remito) { |
6 | + // TODO: Cambiar para usar el servicio /remito | |
6 | 7 | return $http.post(route + '/nota-pedido', {remito: remito}); |
7 | 8 | }, |
8 | 9 | obtenerRemito: function() { |
src/views/remito.html
... | ... | @@ -9,7 +9,15 @@ |
9 | 9 | <h5>REMITO</h5> |
10 | 10 | </div> |
11 | 11 | <div class="col-5 col-sm-4 numero-remito" |
12 | - >Nº {{puntoVenta}}-{{comprobante}} | |
12 | + > | |
13 | + Nº {{puntoVenta}}-{{comprobante}} | |
14 | + <button | |
15 | + class="btn btn-xs" | |
16 | + type="button" | |
17 | + ng-click="buscarNotaPedido()" | |
18 | + > | |
19 | + <i class="fa fa-search"></i> | |
20 | + </button> | |
13 | 21 | </div> |
14 | 22 | <div class="col-7 col-sm-4 text-right"> |
15 | 23 | Fecha: |