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
| 1 | <div class="row"> | 1 | <div class="row"> | 
| 2 | <foca-cabecera-facturador | 2 | <foca-cabecera-facturador | 
| 3 | titulo="'Precios y condiciones'" | 3 | titulo="'Precios y condiciones'" | 
| 4 | fecha="now" | 4 | fecha="now" | 
| 5 | class="mb-0 col-lg-12" | 5 | class="mb-0 col-lg-12" | 
| 6 | ></foca-cabecera-facturador> | 6 | ></foca-cabecera-facturador> | 
| 7 | </div> | 7 | </div> | 
| 8 | <div class="row"> | 8 | <div class="row"> | 
| 9 | <div class="col-12 col-md-10 p-0 mt-4 border border-white rounded"> | 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 | <table class="table table-default table-hover table-sm table-abm table-striped mb-0"> | 31 | <table class="table table-default table-hover table-sm table-abm table-striped mb-0"> | 
| 11 | <thead> | 32 | <thead> | 
| 12 | <tr> | 33 | <tr> | 
| 13 | <th>Nombre</th> | 34 | <th>Nombre</th> | 
| 14 | <th>Lista de precio</th> | 35 | <th>Lista de precio</th> | 
| 15 | <th>Plazos</th> | 36 | <th>Plazos</th> | 
| 16 | <th colspan="2" class="text-center"> | 37 | <th colspan="2" class="text-center"> | 
| 17 | <button | 38 | <button | 
| 18 | title="Agregar" | 39 | title="Agregar" | 
| 19 | class="btn btn-outline-debo boton-accion" | 40 | class="btn btn-outline-debo boton-accion" | 
| 20 | ng-click="editar(0)"> | 41 | ng-click="editar(0)"> | 
| 21 | <i class="fa fa-plus"></i> | 42 | <i class="fa fa-plus"></i> | 
| 22 | </button> | 43 | </button> | 
| 23 | </th> | 44 | </th> | 
| 24 | </tr> | 45 | </tr> | 
| 25 | </thead> | 46 | </thead> | 
| 26 | <tbody> | 47 | <tbody> | 
| 27 | <tr ng-repeat="precioCondicion in preciosCondiciones"> | 48 | <tr ng-repeat="precioCondicion in preciosCondiciones | filter: filters"> | 
| 28 | <td ng-bind="precioCondicion.nombre"></td> | 49 | <td ng-bind="precioCondicion.nombre"></td> | 
| 29 | <td ng-bind="precioCondicion.listaPrecio.ID + ' - ' + precioCondicion.listaPrecio.DES + ' - ' + precioCondicion.listaPrecio.moneda.DETALLE"></td> | 50 | <td ng-bind="precioCondicion.listaPrecio.ID + ' - ' + precioCondicion.listaPrecio.DES + ' - ' + precioCondicion.listaPrecio.moneda.DETALLE"></td> | 
| 30 | <td><span | 51 | <td><span | 
| 31 | ng-repeat="plazo in precioCondicion.plazoPago" | 52 | ng-repeat="plazo in precioCondicion.plazoPago" | 
| 32 | ng-if="plazo.activo" | 53 | ng-if="plazo.activo" | 
| 33 | ng-bind="$last ? plazo.dias : plazo.dias + ', '"></span></td> | 54 | ng-bind="$last ? plazo.dias : plazo.dias + ', '"></span></td> | 
| 34 | <td class="text-center"> | 55 | <td class="text-center"> | 
| 35 | <button | 56 | <button | 
| 36 | title="Editar" | 57 | title="Editar" | 
| 37 | class="btn btn-outline-dark boton-accion" | 58 | class="btn btn-outline-dark boton-accion" | 
| 38 | ng-click="editar(precioCondicion.id)"> | 59 | ng-click="editar(precioCondicion.id)"> | 
| 39 | <i class="fa fa-pencil"></i> | 60 | <i class="fa fa-pencil"></i> | 
| 40 | </button> | 61 | </button> | 
| 41 | <button | 62 | <button | 
| 42 | title="Eliminar" | 63 | title="Eliminar" | 
| 43 | class="btn btn-outline-dark boton-accion" | 64 | class="btn btn-outline-dark boton-accion" | 
| 44 | ng-click="solicitarConfirmacion(precioCondicion)"> | 65 | ng-click="solicitarConfirmacion(precioCondicion)"> | 
| 45 | <i class="fa fa-trash"></i> | 66 | <i class="fa fa-trash"></i> | 
| 46 | </button> | 67 | </button> | 
| 47 | </td> | 68 | </td> | 
| 48 | </tr> | 69 | </tr> | 
| 49 | </tbody> | 70 | </tbody> | 
| 50 | </table> | 71 | </table> | 
| 51 | </div> | 72 | </div> | 
| 52 | </div> | 73 | </div> | 
| 53 | 74 |