Commit 3d049f1d74cfbba0c811a3b87396432e3014e08c
1 parent
c76376a712
Exists in
master
buscador
Showing
1 changed file
with
22 additions
and
1 deletions
Show diff stats
src/views/foca-abm-precios-condiciones-listado.html
| ... | ... | @@ -7,6 +7,27 @@ |
| 7 | 7 | </div> |
| 8 | 8 | <div class="row"> |
| 9 | 9 | <div class="col-12 col-md-10 p-0 mt-4 border border-white rounded"> |
| 10 | + <div class="form-group input-group mt-3 px-5"> | |
| 11 | + <input | |
| 12 | + type="text" | |
| 13 | + class="form-control form-control-sm" | |
| 14 | + id="search" | |
| 15 | + placeholder="Búsqueda" | |
| 16 | + teclado-virtual | |
| 17 | + ng-keypress="busquedaPress($event.keyCode)" | |
| 18 | + ng-model="filters" | |
| 19 | + /> | |
| 20 | + <div class="input-group-append"> | |
| 21 | + <button | |
| 22 | + ladda="searchLoading" | |
| 23 | + class="btn btn-outline-secondary" | |
| 24 | + type="button" | |
| 25 | + ng-click="busquedaPress(13)" | |
| 26 | + > | |
| 27 | + <i class="fa fa-search" aria-hidden="true"></i> | |
| 28 | + </button> | |
| 29 | + </div> | |
| 30 | + </div> | |
| 10 | 31 | <table class="table table-default table-hover table-sm table-abm table-striped mb-0"> |
| 11 | 32 | <thead> |
| 12 | 33 | <tr> |
| ... | ... | @@ -24,7 +45,7 @@ |
| 24 | 45 | </tr> |
| 25 | 46 | </thead> |
| 26 | 47 | <tbody> |
| 27 | - <tr ng-repeat="precioCondicion in preciosCondiciones"> | |
| 48 | + <tr ng-repeat="precioCondicion in preciosCondiciones | filter: filters"> | |
| 28 | 49 | <td ng-bind="precioCondicion.nombre"></td> |
| 29 | 50 | <td ng-bind="precioCondicion.listaPrecio.ID + ' - ' + precioCondicion.listaPrecio.DES + ' - ' + precioCondicion.listaPrecio.moneda.DETALLE"></td> |
| 30 | 51 | <td><span |