Commit b5b1856a52082acf9ad06e8637f4098a7c699bf1
1 parent
432f6c3b04
Exists in
master
Columna de ID para cada unidad
Showing
1 changed file
with
2 additions
and
0 deletions
Show diff stats
src/views/foca-abm-vehiculos-listado.html
1 | <div class="row"> | 1 | <div class="row"> |
2 | <foca-cabecera-facturador | 2 | <foca-cabecera-facturador |
3 | titulo="'Vehículos'" | 3 | titulo="'Vehículos'" |
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="row px-5 py-2 botonera-secundaria"> | 10 | <div class="row px-5 py-2 botonera-secundaria"> |
11 | <div class="col-12"> | 11 | <div class="col-12"> |
12 | <foca-botonera-facturador botones="botonera" max="6" class="row"></foca-botonera-facturador> | 12 | <foca-botonera-facturador botones="botonera" max="6" class="row"></foca-botonera-facturador> |
13 | </div> | 13 | </div> |
14 | </div> | 14 | </div> |
15 | <!-- <div class="col-6 form-group"> | 15 | <!-- <div class="col-6 form-group"> |
16 | <input seleccionarTransportista() | 16 | <input seleccionarTransportista() |
17 | type="text" | 17 | type="text" |
18 | teclado-virtual | 18 | teclado-virtual |
19 | class="form-control form-control-sm" | 19 | class="form-control form-control-sm" |
20 | placeholder="Búsqueda" | 20 | placeholder="Búsqueda" |
21 | ng-model="filtros" | 21 | ng-model="filtros" |
22 | /> | 22 | /> |
23 | </div> --> | 23 | </div> --> |
24 | <table class="table table-default table-hover table-sm table-abm table-striped mb-0"> | 24 | <table class="table table-default table-hover table-sm table-abm table-striped mb-0"> |
25 | <thead> | 25 | <thead> |
26 | <tr> | 26 | <tr> |
27 | <th>ID</th> | ||
27 | <th class="text-center">Unidad</th> | 28 | <th class="text-center">Unidad</th> |
28 | <th>Dominio Tractor</th> | 29 | <th>Dominio Tractor</th> |
29 | <th>Dominio Semi</th> | 30 | <th>Dominio Semi</th> |
30 | <th class="text-right">Capacidad</th> | 31 | <th class="text-right">Capacidad</th> |
31 | <th class="text-center"> | 32 | <th class="text-center"> |
32 | <button | 33 | <button |
33 | ng-disabled="!idTransportista" | 34 | ng-disabled="!idTransportista" |
34 | class="btn btn-outline-debo boton-accion" | 35 | class="btn btn-outline-debo boton-accion" |
35 | title="Agregar" | 36 | title="Agregar" |
36 | ng-click="editar(0)" | 37 | ng-click="editar(0)" |
37 | ><i class="fa fa-plus"></i> | 38 | ><i class="fa fa-plus"></i> |
38 | </button> | 39 | </button> |
39 | </th> | 40 | </th> |
40 | </tr> | 41 | </tr> |
41 | </thead> | 42 | </thead> |
42 | <tbody> | 43 | <tbody> |
43 | <tr ng-repeat="vehiculo in vehiculos | filter:filtros"> | 44 | <tr ng-repeat="vehiculo in vehiculos | filter:filtros"> |
45 | <td ng-bind="vehiculo.id"></td> | ||
44 | <td ng-bind="vehiculo.codigo" class="text-center"></td> | 46 | <td ng-bind="vehiculo.codigo" class="text-center"></td> |
45 | <td ng-bind="vehiculo.tractor"></td> | 47 | <td ng-bind="vehiculo.tractor"></td> |
46 | <td ng-bind="vehiculo.semi"></td> | 48 | <td ng-bind="vehiculo.semi"></td> |
47 | <td ng-bind="vehiculo.capacidad" class="text-right"></td> | 49 | <td ng-bind="vehiculo.capacidad" class="text-right"></td> |
48 | <td class="text-center"> | 50 | <td class="text-center"> |
49 | <button | 51 | <button |
50 | class="btn btn-outline-dark boton-accion" | 52 | class="btn btn-outline-dark boton-accion" |
51 | title="Editar" | 53 | title="Editar" |
52 | ng-click="editar(vehiculo.id)" | 54 | ng-click="editar(vehiculo.id)" |
53 | > | 55 | > |
54 | <i class="fa fa-pencil"></i> | 56 | <i class="fa fa-pencil"></i> |
55 | </button> | 57 | </button> |
56 | <button | 58 | <button |
57 | class="btn btn-outline-dark boton-accion" | 59 | class="btn btn-outline-dark boton-accion" |
58 | title="Eliminar" | 60 | title="Eliminar" |
59 | ng-click="solicitarConfirmacion(vehiculo)" | 61 | ng-click="solicitarConfirmacion(vehiculo)" |
60 | > | 62 | > |
61 | <i class="fa fa-trash"></i> | 63 | <i class="fa fa-trash"></i> |
62 | </button> | 64 | </button> |
63 | </td> | 65 | </td> |
64 | </tr> | 66 | </tr> |
65 | </body> | 67 | </body> |
66 | </table> | 68 | </table> |
67 | </div> | 69 | </div> |
68 | </div> | 70 | </div> |
69 | 71 |