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