Commit 092fc9ef2a41a35968b094f15ed3b3ef8a913f2b
1 parent
c09a3d9271
Exists in
master
Agrego inputs para fletes
Showing
1 changed file
with
52 additions
and
1 deletions
Show diff stats
src/views/nota-pedido.html
... | ... | @@ -57,11 +57,62 @@ |
57 | 57 | class="form-control selectable" |
58 | 58 | type="text" |
59 | 59 | readonly="true" |
60 | - ng-bind="notaPedido.precioCondicion" | |
60 | + ng-model="notaPedido.precioCondicion" | |
61 | 61 | ng-click="abrirModalListaPrecio()" |
62 | 62 | placeholder="Seleccione Lista de precio" |
63 | 63 | > |
64 | 64 | </div> |
65 | + <div class="form-group col-12 col-sm-6 col-md-4"> | |
66 | + <label>Flete</label> | |
67 | + <div class="form-check custom-radio custom-control-inline"> | |
68 | + <input | |
69 | + class="form-check-input" | |
70 | + type="radio" | |
71 | + name="radioFlete" | |
72 | + value="1" | |
73 | + ng-model="notaPedido.flete"> | |
74 | + <label class="form-check-label">Si</label> | |
75 | + </div> | |
76 | + <div class="form-check custom-radio custom-control-inline"> | |
77 | + <input | |
78 | + class="form-check-input" | |
79 | + type="radio" | |
80 | + name="radioFlete" | |
81 | + value="0" | |
82 | + ng-model="notaPedido.flete"> | |
83 | + <label class="form-check-label">No</label> | |
84 | + </div> | |
85 | + </div> | |
86 | + <div class="form-group col-12 col-sm-6 col-md-4"> | |
87 | + <input | |
88 | + class="form-control selectable" | |
89 | + type="text" | |
90 | + readonly="true" | |
91 | + ng-model="notaPedido.fleteNombre" | |
92 | + ng-click="abrirModalFlete()" | |
93 | + placeholder="Seleccione Flete" | |
94 | + > | |
95 | + </div> | |
96 | + <div class="form-group col-12 col-sm-6 col-md-4"> | |
97 | + <input | |
98 | + class="form-control selectable" | |
99 | + type="number" | |
100 | + step="0.01" | |
101 | + ng-disabled="notaPedido.flete == 0" | |
102 | + ng-model="notaPedido.costoUnitarioKmFlete" | |
103 | + placeholder="Costo por kilómetro" | |
104 | + > | |
105 | + </div> | |
106 | + <div class="form-group col-12 col-sm-6 col-md-4"> | |
107 | + <input | |
108 | + class="form-control selectable" | |
109 | + type="number" | |
110 | + step="0.1" | |
111 | + ng-disabled="notaPedido.flete == 0" | |
112 | + ng-model="notaPedido.kilometros" | |
113 | + placeholder="Kilómetros recorridos" | |
114 | + > | |
115 | + </div> | |
65 | 116 | </div> |
66 | 117 | </div> |
67 | 118 | </div> |