foca-abm-vehiculos-listado.html
1.69 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
<div class="col-12">
<h4>Vehiculos</h4>
<div class="form-group">
<input
type="text"
teclado-virtual
class="form-control form-control-sm"
placeholder="Búsqueda"
ng-model="filtros"
/>
</div>
<table class="table table-sm table-striped table-dark">
<thead>
<tr>
<th>Código</th>
<th>Transportista</th>
<th>Tractor</th>
<th>Capacidad</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="vehiculo in vehiculosFiltrados | filter:filtros">
<td ng-bind="vehiculo.id"></td>
<td ng-bind="vehiculo.transportista.NOM || 'No tiene'"></td>
<td ng-bind="vehiculo.tractor"></td>
<td ng-bind="vehiculo.capacidad"></td>
<td class="text-center">
<button
class="btn btn-default boton-accion"
ng-click="editar(vehiculo.id)"
>
<i class="fa fa-pencil"></i>
</button>
<button
class="btn btn-default boton-accion"
ng-click="solicitarConfirmacion(vehiculo)"
>
<i class="fa fa-trash"></i>
</button>
</td>
</tr>
</body>
</table>
</div>