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