Commit a54b9add51ab9fb030073dc529a34db75f3257af
1 parent
25301a33fd
Exists in
master
upstream
Showing
2 changed files
with
64 additions
and
50 deletions
Show diff stats
src/views/foca-abm-precios-condiciones-item.html
| ... | ... | @@ -9,6 +9,7 @@ |
| 9 | 9 | type="text" |
| 10 | 10 | name="codigo" |
| 11 | 11 | ng-model="precioCondicion.codigo" |
| 12 | + autocomplete="off" | |
| 12 | 13 | /> |
| 13 | 14 | </div> |
| 14 | 15 | </div> |
| ... | ... | @@ -20,6 +21,7 @@ |
| 20 | 21 | type="text" |
| 21 | 22 | name="nombre" |
| 22 | 23 | ng-model="precioCondicion.nombre" |
| 24 | + autocomplete="off" | |
| 23 | 25 | /> |
| 24 | 26 | </div> |
| 25 | 27 | </div> |
| ... | ... | @@ -31,6 +33,7 @@ |
| 31 | 33 | type="text" |
| 32 | 34 | name="nombre" |
| 33 | 35 | ng-model="precioCondicion.descripcion" |
| 36 | + autocomplete="off" | |
| 34 | 37 | /> |
| 35 | 38 | </div> |
| 36 | 39 | </div> |
| ... | ... | @@ -42,37 +45,42 @@ |
| 42 | 45 | type="number" |
| 43 | 46 | name="nombre" |
| 44 | 47 | ng-model="precioCondicion.idListaPrecio" |
| 48 | + autocomplete="off" | |
| 45 | 49 | /> |
| 46 | 50 | </div> |
| 47 | 51 | </div> |
| 48 | - <div class="form-group row"> | |
| 52 | + <div class="form-group row" ng-show="mostrarPlazos"> | |
| 49 | 53 | <label class="offset-sm-1 col-sm-2 col-form-label">Plazos</label> |
| 50 | 54 | <div class="col-sm-4"> |
| 51 | - <table class="table table-sm table-hover"> | |
| 52 | - <tr> | |
| 53 | - <th>Item</th> | |
| 54 | - <th>Dias</th> | |
| 55 | - <th colspan="2" class="text-center"> | |
| 56 | - <button class="btn btn-default" ng-click="editarPlazoPago(0)"> | |
| 57 | - <i class="fa fa-plus"></i> | |
| 58 | - </button> | |
| 59 | - </th> | |
| 60 | - </tr> | |
| 61 | - <tr ng-repeat="plazo in precioCondicion.plazos"> | |
| 62 | - <td ng-bind="plazo.item"></td> | |
| 63 | - <td ng-bind="plazo.dias"></td> | |
| 64 | - <td class="text-center"> | |
| 65 | - <button class="btn btn-default" ng-click="editarPlazoPago(plazo.id)"> | |
| 66 | - <i class="fa fa-pencil"></i> | |
| 67 | - </button> | |
| 68 | - <button | |
| 69 | - class="btn btn-default" | |
| 70 | - ng-click="solicitarConfirmacionPlazoPago(plazo)" | |
| 71 | - > | |
| 72 | - <i class="fa fa-trash"></i> | |
| 73 | - </button> | |
| 74 | - </td> | |
| 75 | - </tr> | |
| 55 | + <table class="table table-sm table-hover lista"> | |
| 56 | + <thead> | |
| 57 | + <tr> | |
| 58 | + <th>Item</th> | |
| 59 | + <th>Dias</th> | |
| 60 | + <th colspan="2" class="text-center"> | |
| 61 | + <button class="btn btn-default boton-accion" ng-click="editarPlazoPago(0)"> | |
| 62 | + <i class="fa fa-plus"></i> | |
| 63 | + </button> | |
| 64 | + </th> | |
| 65 | + </tr> | |
| 66 | + </thead> | |
| 67 | + <tbody> | |
| 68 | + <tr ng-repeat="plazo in precioCondicion.plazos"> | |
| 69 | + <td ng-bind="plazo.item"></td> | |
| 70 | + <td ng-bind="plazo.dias"></td> | |
| 71 | + <td class="text-center"> | |
| 72 | + <button class="btn btn-default boton-accion" ng-click="editarPlazoPago(plazo.id)"> | |
| 73 | + <i class="fa fa-pencil"></i> | |
| 74 | + </button> | |
| 75 | + <button | |
| 76 | + class="btn btn-default boton-accion" | |
| 77 | + ng-click="solicitarConfirmacionPlazoPago(plazo)" | |
| 78 | + > | |
| 79 | + <i class="fa fa-trash"></i> | |
| 80 | + </button> | |
| 81 | + </td> | |
| 82 | + </tr> | |
| 83 | + </tbody> | |
| 76 | 84 | </table> |
| 77 | 85 | </div> |
| 78 | 86 | </div> |
src/views/foca-abm-precios-condiciones-listado.html
| 1 | -<h4>Precios y Condiciones</h4> | |
| 2 | -<table class="table table-sm table-hover table-nonfluid"> | |
| 3 | - <tr> | |
| 4 | - <th>Código</th> | |
| 5 | - <th>Nombre</th> | |
| 6 | - <th colspan="2" class="text-center"> | |
| 7 | - <button class="btn btn-default" ng-click="editar(0)"> | |
| 8 | - <i class="fa fa-plus"></i> | |
| 9 | - </button> | |
| 10 | - </th> | |
| 11 | - </tr> | |
| 12 | - <tr ng-repeat="precioCondicion in preciosCondiciones"> | |
| 13 | - <td ng-bind="precioCondicion.codigo"></td> | |
| 14 | - <td ng-bind="precioCondicion.nombre"></td> | |
| 15 | - <td> | |
| 16 | - <button class="btn btn-default" ng-click="editar(precioCondicion.id)"> | |
| 17 | - <i class="fa fa-pencil"></i> | |
| 18 | - </button> | |
| 19 | - <button class="btn btn-default" ng-click="solicitarConfirmacion(precioCondicion)"> | |
| 20 | - <i class="fa fa-trash"></i> | |
| 21 | - </button> | |
| 22 | - </td> | |
| 23 | - </tr> | |
| 24 | -</table> | |
| 1 | +<div class="lista"> | |
| 2 | + <h4>Precios y Condiciones</h4> | |
| 3 | + <table class="table table-sm table-hover table-nonfluid"> | |
| 4 | + <thead> | |
| 5 | + <tr> | |
| 6 | + <th>Código</th> | |
| 7 | + <th>Nombre</th> | |
| 8 | + <th colspan="2" class="text-center"> | |
| 9 | + <button class="btn btn-default boton-accion" ng-click="editar(0)"> | |
| 10 | + <i class="fa fa-plus"></i> | |
| 11 | + </button> | |
| 12 | + </th> | |
| 13 | + </tr> | |
| 14 | + </thead> | |
| 15 | + <tbody> | |
| 16 | + <tr ng-repeat="precioCondicion in preciosCondiciones"> | |
| 17 | + <td ng-bind="precioCondicion.codigo"></td> | |
| 18 | + <td ng-bind="precioCondicion.nombre"></td> | |
| 19 | + <td> | |
| 20 | + <button class="btn btn-default boton-accion" ng-click="editar(precioCondicion.id)"> | |
| 21 | + <i class="fa fa-pencil"></i> | |
| 22 | + </button> | |
| 23 | + <button class="btn btn-default boton-accion" ng-click="solicitarConfirmacion(precioCondicion)"> | |
| 24 | + <i class="fa fa-trash"></i> | |
| 25 | + </button> | |
| 26 | + </td> | |
| 27 | + </tr> | |
| 28 | + </tbody> | |
| 29 | + </table> | |
| 30 | +</div> |