foca-abm-choferes-listado.html
1.87 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
<div class="col-12 pt-4">
<h4>Choferes</h4>
<div class="form-group">
<input
type="text"
class="form-control form-control-sm"
placeholder="Búsqueda"
ng-model="filtros"
teclado-virtual
/>
</div>
<table class="table table-sm table-striped table-dark">
<thead>
<tr>
<th>Código</th>
<th>Nombre</th>
<th>DNI</th>
<th>Teléfono</th>
<th>Transportista</th>
<th class="text-center">
<button class="btn btn-default boton-accion" ng-click="editar(0)">
<i class="fa fa-plus"></i>
</button>
</th>
</tr>
</thead>
<tbody>
<tr ng-repeat="chofer in choferesFiltrados | filter:filtros">
<td ng-bind="chofer.id"></td>
<td ng-bind="chofer.nombre"></td>
<td ng-bind="chofer.dni"></td>
<td ng-bind="chofer.telefono"></td>
<td ng-bind="chofer.transportista.NOM || 'No tiene'"></td>
<td class="text-center">
<button
class="btn btn-default boton-accion"
ng-click="editar(chofer.id)"
>
<i class="fa fa-pencil"></i>
</button>
<button
class="btn btn-default boton-accion"
ng-click="solicitarConfirmacion(chofer)"
>
<i class="fa fa-trash"></i>
</button>
</td>
</tr>
</body>
</table>
<a href="#!/" title="Salir"
class="btn btn-secondary btn-block float-right col-md-2"
>
Salir
</a>
</div>