Commit c9a912645d520fe853fbb63e35ddc68d6749d5cd
1 parent
efeead2401
Exists in
master
and in
1 other branch
agrego semi y cisternado en listado
Showing
1 changed file
with
4 additions
and
0 deletions
 
Show diff stats
src/views/foca-abm-vehiculos-listado.html
| 1 | <div class="col-12"> | 1 | <div class="col-12"> | 
| 2 | <h4>Vehiculos</h4> | 2 | <h4>Vehiculos</h4> | 
| 3 | <div class="form-group"> | 3 | <div class="form-group"> | 
| 4 | <input | 4 | <input | 
| 5 | type="text" | 5 | type="text" | 
| 6 | teclado-virtual | 6 | teclado-virtual | 
| 7 | class="form-control form-control-sm" | 7 | class="form-control form-control-sm" | 
| 8 | placeholder="Búsqueda" | 8 | placeholder="Búsqueda" | 
| 9 | ng-model="filtros" | 9 | ng-model="filtros" | 
| 10 | /> | 10 | /> | 
| 11 | </div> | 11 | </div> | 
| 12 | <table class="table table-sm table-striped table-dark"> | 12 | <table class="table table-sm table-striped table-dark"> | 
| 13 | <thead> | 13 | <thead> | 
| 14 | <tr> | 14 | <tr> | 
| 15 | <th>Código</th> | 15 | <th>Código</th> | 
| 16 | <th>Transportista</th> | 16 | <th>Transportista</th> | 
| 17 | <th>Tractor</th> | 17 | <th>Tractor</th> | 
| 18 | <th>Semi</th> | ||
| 18 | <th>Capacidad</th> | 19 | <th>Capacidad</th> | 
| 20 | <th>Cisternado</th> | ||
| 19 | <th class="text-center"> | 21 | <th class="text-center"> | 
| 20 | <button class="btn btn-default boton-accion" ng-click="editar(0)"> | 22 | <button class="btn btn-default boton-accion" ng-click="editar(0)"> | 
| 21 | <i class="fa fa-plus"></i> | 23 | <i class="fa fa-plus"></i> | 
| 22 | </button> | 24 | </button> | 
| 23 | </th> | 25 | </th> | 
| 24 | </tr> | 26 | </tr> | 
| 25 | </thead> | 27 | </thead> | 
| 26 | <tbody> | 28 | <tbody> | 
| 27 | <tr ng-repeat="vehiculo in vehiculosFiltrados | filter:filtros"> | 29 | <tr ng-repeat="vehiculo in vehiculosFiltrados | filter:filtros"> | 
| 28 | <td ng-bind="vehiculo.id"></td> | 30 | <td ng-bind="vehiculo.id"></td> | 
| 29 | <td ng-bind="vehiculo.transportista.NOM || 'No tiene'"></td> | 31 | <td ng-bind="vehiculo.transportista.NOM || 'No tiene'"></td> | 
| 30 | <td ng-bind="vehiculo.tractor"></td> | 32 | <td ng-bind="vehiculo.tractor"></td> | 
| 33 | <td ng-bind="vehiculo.semi"></td> | ||
| 31 | <td ng-bind="vehiculo.capacidad"></td> | 34 | <td ng-bind="vehiculo.capacidad"></td> | 
| 35 | <td ng-bind="vehiculo.cisternado"></td> | ||
| 32 | <td class="text-center"> | 36 | <td class="text-center"> | 
| 33 | <button | 37 | <button | 
| 34 | class="btn btn-default boton-accion" | 38 | class="btn btn-default boton-accion" | 
| 35 | ng-click="editar(vehiculo.id)" | 39 | ng-click="editar(vehiculo.id)" | 
| 36 | > | 40 | > | 
| 37 | <i class="fa fa-pencil"></i> | 41 | <i class="fa fa-pencil"></i> | 
| 38 | </button> | 42 | </button> | 
| 39 | <button | 43 | <button | 
| 40 | class="btn btn-default boton-accion" | 44 | class="btn btn-default boton-accion" | 
| 41 | ng-click="solicitarConfirmacion(vehiculo)" | 45 | ng-click="solicitarConfirmacion(vehiculo)" | 
| 42 | > | 46 | > | 
| 43 | <i class="fa fa-trash"></i> | 47 | <i class="fa fa-trash"></i> | 
| 44 | </button> | 48 | </button> | 
| 45 | </td> | 49 | </td> | 
| 46 | </tr> | 50 | </tr> | 
| 47 | </body> | 51 | </body> | 
| 48 | </table> | 52 | </table> | 
| 49 | <a href="#!/" title="Salir" | 53 | <a href="#!/" title="Salir" | 
| 50 | class="btn btn-secondary btn-block float-right col-md-2" | 54 | class="btn btn-secondary btn-block float-right col-md-2" | 
| 51 | > | 55 | > | 
| 52 | Salir | 56 | Salir | 
| 53 | </a> | 57 | </a> | 
| 54 | </div> | 58 | </div> | 
| 55 | 59 |