foca-abm-vehiculos-listado.html
2.43 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
<div class="col-12">
<h4>Vehiculos</h4>
<div class="col-4 form-group input-group">
<input
class="form-control form-control-sm"
ng-model="filtros"
placeholder="Transportista"
/>
<div class="input-group-append">
<button
class="btn btn-outline-secondary form-control-sm"
ng-click="seleccionarTransportista()"
><i class="fa fa-search" aria-hidden="true"></i></button>
</div>
</div>
<!-- <div class="col-6 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>Unidad</th>
<th>Tractor</th>
<th>Semi</th>
<th>Capacidad</th>
<th>Cisternado</th>
<th class="text-center">
<button
ng-disabled="!idTransportista"
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 vehiculos | filter:filtros">
<td ng-bind="vehiculo.codigo"></td>
<td ng-bind="vehiculo.tractor"></td>
<td ng-bind="vehiculo.semi"></td>
<td ng-bind="vehiculo.capacidad"></td>
<td ng-bind="vehiculo.cisternado"></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>
<a href="#!/" title="Salir"
class="btn btn-secondary btn-block float-right col-md-2"
>
Salir
</a>
</div>