Commit 35d61c353a1c1d8e9bf6ea73152d9c797d6a21ce
1 parent
bff8dac831
Exists in
master
implementación teclado virtual
Showing
1 changed file
with
3 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 | /> | 14 | /> |
14 | </div> | 15 | </div> |
15 | </div> | 16 | </div> |
16 | <div class="form-group row"> | 17 | <div class="form-group row"> |
17 | <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> |
18 | <div class="col-sm-4"> | 19 | <div class="col-sm-4"> |
19 | <input | 20 | <input |
20 | class="form-control" | 21 | class="form-control" |
21 | type="text" | 22 | type="text" |
22 | name="nombre" | 23 | name="nombre" |
23 | ng-model="precioCondicion.nombre" | 24 | ng-model="precioCondicion.nombre" |
24 | autocomplete="off" | 25 | autocomplete="off" |
26 | teclado-virtual | ||
25 | /> | 27 | /> |
26 | </div> | 28 | </div> |
27 | </div> | 29 | </div> |
28 | <div class="form-group row"> | 30 | <div class="form-group row"> |
29 | <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> |
30 | <div class="col-sm-4"> | 32 | <div class="col-sm-4"> |
31 | <input | 33 | <input |
32 | class="form-control" | 34 | class="form-control" |
33 | type="text" | 35 | type="text" |
34 | name="nombre" | 36 | name="nombre" |
35 | ng-model="precioCondicion.descripcion" | 37 | ng-model="precioCondicion.descripcion" |
36 | autocomplete="off" | 38 | autocomplete="off" |
39 | teclado-virtual | ||
37 | /> | 40 | /> |
38 | </div> | 41 | </div> |
39 | </div> | 42 | </div> |
40 | <div class="form-group row"> | 43 | <div class="form-group row"> |
41 | <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> |
42 | <div class="col-sm-4"> | 45 | <div class="col-sm-4"> |
43 | <input | 46 | <input |
44 | class="form-control" | 47 | class="form-control" |
45 | type="number" | 48 | type="number" |
46 | name="nombre" | 49 | name="nombre" |
47 | ng-model="precioCondicion.idListaPrecio" | 50 | ng-model="precioCondicion.idListaPrecio" |
48 | autocomplete="off" | 51 | autocomplete="off" |
49 | /> | 52 | /> |
50 | </div> | 53 | </div> |
51 | </div> | 54 | </div> |
52 | <div class="form-group row" ng-show="mostrarPlazos"> | 55 | <div class="form-group row" ng-show="mostrarPlazos"> |
53 | <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> |
54 | <div class="col-sm-4"> | 57 | <div class="col-sm-4"> |
55 | <table class="table table-sm table-hover lista"> | 58 | <table class="table table-sm table-hover lista"> |
56 | <thead> | 59 | <thead> |
57 | <tr> | 60 | <tr> |
58 | <th>Item</th> | 61 | <th>Item</th> |
59 | <th>Dias</th> | 62 | <th>Dias</th> |
60 | <th colspan="2" class="text-center"> | 63 | <th colspan="2" class="text-center"> |
61 | <button class="btn btn-default boton-accion" ng-click="editarPlazoPago(0)"> | 64 | <button class="btn btn-default boton-accion" ng-click="editarPlazoPago(0)"> |
62 | <i class="fa fa-plus"></i> | 65 | <i class="fa fa-plus"></i> |
63 | </button> | 66 | </button> |
64 | </th> | 67 | </th> |
65 | </tr> | 68 | </tr> |
66 | </thead> | 69 | </thead> |
67 | <tbody> | 70 | <tbody> |
68 | <tr ng-repeat="plazo in precioCondicion.plazos"> | 71 | <tr ng-repeat="plazo in precioCondicion.plazos"> |
69 | <td ng-bind="plazo.item"></td> | 72 | <td ng-bind="plazo.item"></td> |
70 | <td ng-bind="plazo.dias"></td> | 73 | <td ng-bind="plazo.dias"></td> |
71 | <td class="text-center"> | 74 | <td class="text-center"> |
72 | <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)"> |
73 | <i class="fa fa-pencil"></i> | 76 | <i class="fa fa-pencil"></i> |
74 | </button> | 77 | </button> |
75 | <button | 78 | <button |
76 | class="btn btn-default boton-accion" | 79 | class="btn btn-default boton-accion" |
77 | ng-click="solicitarConfirmacionPlazoPago(plazo)" | 80 | ng-click="solicitarConfirmacionPlazoPago(plazo)" |
78 | > | 81 | > |
79 | <i class="fa fa-trash"></i> | 82 | <i class="fa fa-trash"></i> |
80 | </button> | 83 | </button> |
81 | </td> | 84 | </td> |
82 | </tr> | 85 | </tr> |
83 | </tbody> | 86 | </tbody> |
84 | </table> | 87 | </table> |
85 | </div> | 88 | </div> |
86 | </div> | 89 | </div> |
87 | <div class="form-group row"> | 90 | <div class="form-group row"> |
88 | <div class="col-sm-7 text-right"> | 91 | <div class="col-sm-7 text-right"> |
89 | <button class="btn btn-primary" ng-click="guardar(precioCondicion)">Guardar</button> | 92 | <button class="btn btn-primary" ng-click="guardar(precioCondicion)">Guardar</button> |
90 | <button class="btn btn-default" ng-click="cancelar()">Cancelar</button> | 93 | <button class="btn btn-default" ng-click="cancelar()">Cancelar</button> |
91 | </div> | 94 | </div> |
92 | </div> | 95 | </div> |
93 | </form> | 96 | </form> |
94 | 97 |