Commit 8a0c049e4b7efdea4d9c85f2d6fce0c7b0af3d90
1 parent
8a51c92b3a
Exists in
master
Quitado de clase css en boton.
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
src/views/nota-pedido.html
1 | <div class="crear-nota-pedido foca-crear row"> | 1 | <div class="crear-nota-pedido foca-crear row"> |
2 | <foca-cabecera-facturador | 2 | <foca-cabecera-facturador |
3 | titulo="'Nota de pedido'" | 3 | titulo="'Nota de pedido'" |
4 | numero="puntoVenta + '-' + comprobante" | 4 | numero="puntoVenta + '-' + comprobante" |
5 | fecha="notaPedido.fechaCarga" | 5 | fecha="notaPedido.fechaCarga" |
6 | class="mb-0 col-lg-12" | 6 | class="mb-0 col-lg-12" |
7 | busqueda="seleccionarNotaPedido" | 7 | busqueda="seleccionarNotaPedido" |
8 | ></foca-cabecera-facturador> | 8 | ></foca-cabecera-facturador> |
9 | <marquee | 9 | <marquee |
10 | bgcolor="#FF9900" | 10 | bgcolor="#FF9900" |
11 | behavior="scroll" | 11 | behavior="scroll" |
12 | direction="left" | 12 | direction="left" |
13 | ng-bind="notaPedido.observaciones" | 13 | ng-bind="notaPedido.observaciones" |
14 | ></marquee> | 14 | ></marquee> |
15 | <div class="col-lg-12"> | 15 | <div class="col-lg-12"> |
16 | <div class="row"> | 16 | <div class="row"> |
17 | <div class="col-12 col-md-10 col-lg-10 border border-light rounded"> | 17 | <div class="col-12 col-md-10 col-lg-10 border border-light rounded"> |
18 | <div class="row py-2 botonera-secundaria"> | 18 | <div class="row py-2 botonera-secundaria"> |
19 | <div class="col-12 foca-facturador-px"> | 19 | <div class="col-12 foca-facturador-px"> |
20 | <foca-botonera-facturador botones="botonera" extra="5" class="row"></foca-botonera-facturador> | 20 | <foca-botonera-facturador botones="botonera" extra="5" class="row"></foca-botonera-facturador> |
21 | </div> | 21 | </div> |
22 | </div> | 22 | </div> |
23 | <!-- PC --> | 23 | <!-- PC --> |
24 | <div class="row grilla-articulo align-items-end d-none d-sm-flex"> | 24 | <div class="row grilla-articulo align-items-end d-none d-sm-flex"> |
25 | <table class="table tabla-articulo table-striped table-sm mb-0 rounded-bottom"> | 25 | <table class="table tabla-articulo table-striped table-sm mb-0 rounded-bottom"> |
26 | <thead> | 26 | <thead> |
27 | <tr class="d-flex"> | 27 | <tr class="d-flex"> |
28 | <th valign="middle" class="">#</th> | 28 | <th valign="middle" class="">#</th> |
29 | <th valign="middle" class="col">Código</th> | 29 | <th valign="middle" class="col">Código</th> |
30 | <th valign="middle" class="col-4">Descripción</th> | 30 | <th valign="middle" class="col-4">Descripción</th> |
31 | <th valign="middle" class="col text-right">Cantidad</th> | 31 | <th valign="middle" class="col text-right">Cantidad</th> |
32 | <th valign="middle" class="col text-right">Precio Unitario</th> | 32 | <th valign="middle" class="col text-right">Precio Unitario</th> |
33 | <th valign="middle" class="col text-right">SubTotal</th> | 33 | <th valign="middle" class="col text-right">SubTotal</th> |
34 | <th valign="middle" class="text-right"> | 34 | <th valign="middle" class="text-right"> |
35 | <button | 35 | <button |
36 | class="btn btn-outline-light selectable" | 36 | class="btn btn-outline-light selectable" |
37 | ng-click="show = !show; masMenos()" | 37 | ng-click="show = !show; masMenos()" |
38 | > | 38 | > |
39 | <i | 39 | <i |
40 | class="fa fa-chevron-down" | 40 | class="fa fa-chevron-down" |
41 | ng-show="show" | 41 | ng-show="show" |
42 | aria-hidden="true" | 42 | aria-hidden="true" |
43 | > | 43 | > |
44 | </i> | 44 | </i> |
45 | <i | 45 | <i |
46 | class="fa fa-chevron-up" | 46 | class="fa fa-chevron-up" |
47 | ng-hide="show" | 47 | ng-hide="show" |
48 | aria-hidden="true"> | 48 | aria-hidden="true"> |
49 | </i> | 49 | </i> |
50 | </button> | 50 | </button> |
51 | </th> | 51 | </th> |
52 | </tr> | 52 | </tr> |
53 | </thead> | 53 | </thead> |
54 | <tbody class="tabla-articulo-body"> | 54 | <tbody class="tabla-articulo-body"> |
55 | <tr | 55 | <tr |
56 | ng-repeat="(key, articulo) in notaPedido.articulosNotaPedido" | 56 | ng-repeat="(key, articulo) in notaPedido.articulosNotaPedido" |
57 | ng-show="show || key == (notaPedido.articulosNotaPedido.length - 1)" | 57 | ng-show="show || key == (notaPedido.articulosNotaPedido.length - 1)" |
58 | class="d-flex" | 58 | class="d-flex" |
59 | > | 59 | > |
60 | <td ng-bind="key + 1"></td> | 60 | <td ng-bind="key + 1"></td> |
61 | <td | 61 | <td |
62 | class="col" | 62 | class="col" |
63 | ng-bind="articulo.sector + '-' + articulo.codigo" | 63 | ng-bind="articulo.sector + '-' + articulo.codigo" |
64 | ></td> | 64 | ></td> |
65 | <td | 65 | <td |
66 | class="col-4" | 66 | class="col-4" |
67 | ng-bind="articulo.descripcion" | 67 | ng-bind="articulo.descripcion" |
68 | ></td> | 68 | ></td> |
69 | <td class="col text-right"> | 69 | <td class="col text-right"> |
70 | <input | 70 | <input |
71 | ng-show="articulo.editCantidad" | 71 | ng-show="articulo.editCantidad" |
72 | ng-model="tmpCantidad" | 72 | ng-model="tmpCantidad" |
73 | class="form-control" | 73 | class="form-control" |
74 | foca-tipo-input | 74 | foca-tipo-input |
75 | min="1" | 75 | min="1" |
76 | foca-focus="articulo.editCantidad" | 76 | foca-focus="articulo.editCantidad" |
77 | ng-keypress="editarArticulo($event.keyCode, articulo, tmpCantidad, tmpPrecio);" | 77 | ng-keypress="editarArticulo($event.keyCode, articulo, tmpCantidad, tmpPrecio);" |
78 | esc-key="cancelarEditar(articulo)" | 78 | esc-key="cancelarEditar(articulo)" |
79 | ng-focus="selectFocus($event); | 79 | ng-focus="selectFocus($event); |
80 | tmpCantidad = articulo.cantidad; | 80 | tmpCantidad = articulo.cantidad; |
81 | tmpPrecio = articulo.precio" | 81 | tmpPrecio = articulo.precio" |
82 | teclado-virtual | 82 | teclado-virtual |
83 | > | 83 | > |
84 | <i | 84 | <i |
85 | class="selectable" | 85 | class="selectable" |
86 | ng-click="cambioEdit(articulo, 'cantidad')" | 86 | ng-click="cambioEdit(articulo, 'cantidad')" |
87 | ng-hide="articulo.editCantidad" | 87 | ng-hide="articulo.editCantidad" |
88 | ng-bind="articulo.cantidad"> | 88 | ng-bind="articulo.cantidad"> |
89 | </i> | 89 | </i> |
90 | </td> | 90 | </td> |
91 | <td class="col text-right"> | 91 | <td class="col text-right"> |
92 | <input | 92 | <input |
93 | ng-show="articulo.editPrecio" | 93 | ng-show="articulo.editPrecio" |
94 | ng-model="tmpPrecio" | 94 | ng-model="tmpPrecio" |
95 | class="form-control" | 95 | class="form-control" |
96 | foca-tipo-input | 96 | foca-tipo-input |
97 | min="1" | 97 | min="1" |
98 | step="0.0001" | 98 | step="0.0001" |
99 | foca-focus="articulo.editPrecio" | 99 | foca-focus="articulo.editPrecio" |
100 | ng-keypress="editarArticulo($event.keyCode, articulo, tmpCantidad, tmpPrecio);" | 100 | ng-keypress="editarArticulo($event.keyCode, articulo, tmpCantidad, tmpPrecio);" |
101 | esc-key="cancelarEditar(articulo)" | 101 | esc-key="cancelarEditar(articulo)" |
102 | ng-focus="selectFocus($event); | 102 | ng-focus="selectFocus($event); |
103 | tmpCantidad = articulo.cantidad; | 103 | tmpCantidad = articulo.cantidad; |
104 | tmpPrecio = articulo.precio" | 104 | tmpPrecio = articulo.precio" |
105 | teclado-virtual | 105 | teclado-virtual |
106 | > | 106 | > |
107 | <i | 107 | <i |
108 | class="selectable" | 108 | class="selectable" |
109 | ng-click="cambioEdit(articulo, 'precio')" | 109 | ng-click="cambioEdit(articulo, 'precio')" |
110 | ng-hide="articulo.editPrecio" | 110 | ng-hide="articulo.editPrecio" |
111 | ng-bind="articulo.precio | number: 4"> | 111 | ng-bind="articulo.precio | number: 4"> |
112 | </i> | 112 | </i> |
113 | </td> | 113 | </td> |
114 | <td | 114 | <td |
115 | class="col text-right" | 115 | class="col text-right" |
116 | ng-bind="(articulo.precio * articulo.cantidad) | | 116 | ng-bind="(articulo.precio * articulo.cantidad) | |
117 | number: 2"> | 117 | number: 2"> |
118 | </td> | 118 | </td> |
119 | <td class="text-center"> | 119 | <td class="text-center"> |
120 | <button | 120 | <button |
121 | ng-show="articulo.editCantidad || articulo.editPrecio" | 121 | ng-show="articulo.editCantidad || articulo.editPrecio" |
122 | class="btn btn-outline-light" | 122 | class="btn btn-outline-light" |
123 | ng-click="editarArticulo(13, articulo)" | 123 | ng-click="editarArticulo(13, articulo)" |
124 | > | 124 | > |
125 | <i class="fa fa-save"></i> | 125 | <i class="fa fa-save"></i> |
126 | </button> | 126 | </button> |
127 | <button | 127 | <button |
128 | class="btn btn-outline-light" | 128 | class="btn btn-outline-light" |
129 | ng-click="quitarArticulo(key)" | 129 | ng-click="quitarArticulo(key)" |
130 | > | 130 | > |
131 | <i class="fa fa-trash"></i> | 131 | <i class="fa fa-trash"></i> |
132 | </button> | 132 | </button> |
133 | </td> | 133 | </td> |
134 | </tr> | 134 | </tr> |
135 | </tbody> | 135 | </tbody> |
136 | <tfoot> | 136 | <tfoot> |
137 | <tr ng-show="!cargando" class="d-flex"> | 137 | <tr ng-show="!cargando" class="d-flex"> |
138 | <td | 138 | <td |
139 | class="align-middle" | 139 | class="align-middle" |
140 | ng-bind="notaPedido.articulosNotaPedido.length + 1" | 140 | ng-bind="notaPedido.articulosNotaPedido.length + 1" |
141 | ></td> | 141 | ></td> |
142 | <td class="col"> | 142 | <td class="col"> |
143 | <input | 143 | <input |
144 | class="form-control" | 144 | class="form-control" |
145 | ng-model="articuloACargar.sectorCodigo" | 145 | ng-model="articuloACargar.sectorCodigo" |
146 | readonly | 146 | readonly |
147 | > | 147 | > |
148 | </td> | 148 | </td> |
149 | <td class="col-4 tabla-articulo-descripcion"> | 149 | <td class="col-4 tabla-articulo-descripcion"> |
150 | <input | 150 | <input |
151 | class="form-control" | 151 | class="form-control" |
152 | ng-model="articuloACargar.descripcion" | 152 | ng-model="articuloACargar.descripcion" |
153 | readonly | 153 | readonly |
154 | > | 154 | > |
155 | </td> | 155 | </td> |
156 | <td class="col text-right"> | 156 | <td class="col text-right"> |
157 | <input | 157 | <input |
158 | class="form-control" | 158 | class="form-control" |
159 | foca-tipo-input | 159 | foca-tipo-input |
160 | min="1" | 160 | min="1" |
161 | step="0.001" | 161 | step="0.001" |
162 | ng-model="articuloACargar.cantidad" | 162 | ng-model="articuloACargar.cantidad" |
163 | foca-focus="!cargando" | 163 | foca-focus="!cargando" |
164 | esc-key="resetFilter()" | 164 | esc-key="resetFilter()" |
165 | ng-keypress="agregarATabla($event.keyCode)" | 165 | ng-keypress="agregarATabla($event.keyCode)" |
166 | teclado-virtual | 166 | teclado-virtual |
167 | > | 167 | > |
168 | </td> | 168 | </td> |
169 | <td class="col text-right"> | 169 | <td class="col text-right"> |
170 | <input | 170 | <input |
171 | class="form-control" | 171 | class="form-control" |
172 | ng-value="articuloACargar.precio | number: 2" | 172 | ng-value="articuloACargar.precio | number: 2" |
173 | ng-show="idLista != -1" | 173 | ng-show="idLista != -1" |
174 | readonly | 174 | readonly |
175 | > | 175 | > |
176 | <input | 176 | <input |
177 | class="form-control" | 177 | class="form-control" |
178 | foca-tipo-input | 178 | foca-tipo-input |
179 | min="0" | 179 | min="0" |
180 | step="0.0001" | 180 | step="0.0001" |
181 | ng-model="articuloACargar.precio" | 181 | ng-model="articuloACargar.precio" |
182 | esc-key="resetFilter()" | 182 | esc-key="resetFilter()" |
183 | ng-keypress="agregarATabla($event.keyCode)" | 183 | ng-keypress="agregarATabla($event.keyCode)" |
184 | ng-show="idLista == -1" | 184 | ng-show="idLista == -1" |
185 | teclado-virtual | 185 | teclado-virtual |
186 | > | 186 | > |
187 | </td> | 187 | </td> |
188 | <td class="col text-right"> | 188 | <td class="col text-right"> |
189 | <input | 189 | <input |
190 | class="form-control" | 190 | class="form-control" |
191 | ng-value="getSubTotal() | number: 2" | 191 | ng-value="getSubTotal() | number: 2" |
192 | readonly | 192 | readonly |
193 | ></td> | 193 | ></td> |
194 | <td class="text-center align-middle"> | 194 | <td class="text-center align-middle"> |
195 | <button | 195 | <button |
196 | class="btn btn-outline-light" | 196 | class="btn btn-outline-light" |
197 | ng-click="agregarATabla(13)" | 197 | ng-click="agregarATabla(13)" |
198 | > | 198 | > |
199 | <i class="fa fa-save"></i> | 199 | <i class="fa fa-save"></i> |
200 | </button> | 200 | </button> |
201 | </td> | 201 | </td> |
202 | </tr> | 202 | </tr> |
203 | <tr class="d-flex"> | 203 | <tr class="d-flex"> |
204 | <td colspan="4" class="no-border-top"> | 204 | <td colspan="4" class="no-border-top"> |
205 | <strong>Items:</strong> | 205 | <strong>Items:</strong> |
206 | <a ng-bind="notaPedido.articulosNotaPedido.length"></a> | 206 | <a ng-bind="notaPedido.articulosNotaPedido.length"></a> |
207 | </td> | 207 | </td> |
208 | <td class="text-right ml-auto table-celda-total no-border-top"> | 208 | <td class="text-right ml-auto table-celda-total no-border-top"> |
209 | <h3>Total:</h3> | 209 | <h3>Total:</h3> |
210 | </td> | 210 | </td> |
211 | <td class="table-celda-total text-right no-border-top" colspan="1"> | 211 | <td class="table-celda-total text-right no-border-top" colspan="1"> |
212 | <h3>{{getTotal() | currency: notaPedido.cotizacion.moneda.SIMBOLO}}</h3> | 212 | <h3>{{getTotal() | currency: notaPedido.cotizacion.moneda.SIMBOLO}}</h3> |
213 | </td> | 213 | </td> |
214 | <td class="text-right no-border-top"> | 214 | <td class="text-right no-border-top"> |
215 | <button | 215 | <button |
216 | type="button" | 216 | type="button" |
217 | class="btn btn-default btn-sm" | 217 | class="btn btn-sm" |
218 | > | 218 | > |
219 | Totales | 219 | Totales |
220 | </button> | 220 | </button> |
221 | </td> | 221 | </td> |
222 | </tr> | 222 | </tr> |
223 | </tfoot> | 223 | </tfoot> |
224 | </table> | 224 | </table> |
225 | </div> | 225 | </div> |
226 | <!-- MOBILE --> | 226 | <!-- MOBILE --> |
227 | <div class="row d-sm-none"> | 227 | <div class="row d-sm-none"> |
228 | <table class="table table-sm table-striped tabla-articulo margin-bottom-mobile"> | 228 | <table class="table table-sm table-striped tabla-articulo margin-bottom-mobile"> |
229 | <thead> | 229 | <thead> |
230 | <tr class="d-flex"> | 230 | <tr class="d-flex"> |
231 | <th class="">#</th> | 231 | <th class="">#</th> |
232 | <th class="col px-0"> | 232 | <th class="col px-0"> |
233 | <div class="d-flex"> | 233 | <div class="d-flex"> |
234 | <div class="col-4 px-1">Código</div> | 234 | <div class="col-4 px-1">Código</div> |
235 | <div class="col-8 px-1">Descripción</div> | 235 | <div class="col-8 px-1">Descripción</div> |
236 | </div> | 236 | </div> |
237 | <div class="d-flex"> | 237 | <div class="d-flex"> |
238 | <div class="col-3 px-1">Cantidad</div> | 238 | <div class="col-3 px-1">Cantidad</div> |
239 | <div class="col px-1 text-right">P. Uni.</div> | 239 | <div class="col px-1 text-right">P. Uni.</div> |
240 | <div class="col px-1 text-right">Subtotal</div> | 240 | <div class="col px-1 text-right">Subtotal</div> |
241 | </div> | 241 | </div> |
242 | </th> | 242 | </th> |
243 | <th class="text-center tamaño-boton"> | 243 | <th class="text-center tamaño-boton"> |
244 | | 244 | |
245 | </th> | 245 | </th> |
246 | </tr> | 246 | </tr> |
247 | </thead> | 247 | </thead> |
248 | <tbody> | 248 | <tbody> |
249 | <tr | 249 | <tr |
250 | ng-repeat="(key, articulo) in notaPedido.articulosNotaPedido" | 250 | ng-repeat="(key, articulo) in notaPedido.articulosNotaPedido" |
251 | ng-show="show || key == notaPedido.articulosNotaPedido.length - 1" | 251 | ng-show="show || key == notaPedido.articulosNotaPedido.length - 1" |
252 | > | 252 | > |
253 | <td class="w-100 align-middle d-flex p-0"> | 253 | <td class="w-100 align-middle d-flex p-0"> |
254 | <div class="align-middle p-1"> | 254 | <div class="align-middle p-1"> |
255 | <span ng-bind="key+1" class="align-middle"></span> | 255 | <span ng-bind="key+1" class="align-middle"></span> |
256 | </div> | 256 | </div> |
257 | <div class="col px-0"> | 257 | <div class="col px-0"> |
258 | <div class="d-flex"> | 258 | <div class="d-flex"> |
259 | <div class="col-4 px-1"> | 259 | <div class="col-4 px-1"> |
260 | <span | 260 | <span |
261 | ng-bind="articulo.sector + '-' + articulo.codigo" | 261 | ng-bind="articulo.sector + '-' + articulo.codigo" |
262 | ></span> | 262 | ></span> |
263 | </div> | 263 | </div> |
264 | <div class="col-8 px-1"> | 264 | <div class="col-8 px-1"> |
265 | <span ng-bind="articulo.descripcion"></span> | 265 | <span ng-bind="articulo.descripcion"></span> |
266 | </div> | 266 | </div> |
267 | </div> | 267 | </div> |
268 | <div class="d-flex"> | 268 | <div class="d-flex"> |
269 | <div class="col-3 px-1"> | 269 | <div class="col-3 px-1"> |
270 | <span | 270 | <span |
271 | ng-bind="'x' + articulo.cantidad" | 271 | ng-bind="'x' + articulo.cantidad" |
272 | ng-hide="articulo.editCantidad" | 272 | ng-hide="articulo.editCantidad" |
273 | ></span> | 273 | ></span> |
274 | <i | 274 | <i |
275 | class="fa fa-pencil text-white-50" | 275 | class="fa fa-pencil text-white-50" |
276 | aria-hidden="true" | 276 | aria-hidden="true" |
277 | ng-hide="articulo.editCantidad" | 277 | ng-hide="articulo.editCantidad" |
278 | ng-click="articulo.editCantidad = true" | 278 | ng-click="articulo.editCantidad = true" |
279 | ></i> | 279 | ></i> |
280 | <input | 280 | <input |
281 | ng-show="articulo.editCantidad" | 281 | ng-show="articulo.editCantidad" |
282 | ng-model="articulo.cantidad" | 282 | ng-model="articulo.cantidad" |
283 | class="form-control" | 283 | class="form-control" |
284 | foca-tipo-input | 284 | foca-tipo-input |
285 | min="1" | 285 | min="1" |
286 | step="0.001" | 286 | step="0.001" |
287 | foca-focus="articulo.editCantidad" | 287 | foca-focus="articulo.editCantidad" |
288 | ng-keypress="editarArticulo($event.keyCode, articulo)" | 288 | ng-keypress="editarArticulo($event.keyCode, articulo)" |
289 | ng-focus="selectFocus($event)" | 289 | ng-focus="selectFocus($event)" |
290 | > | 290 | > |
291 | </div> | 291 | </div> |
292 | <div class="col px-1 text-right"> | 292 | <div class="col px-1 text-right"> |
293 | <span ng-bind="articulo.precio | | 293 | <span ng-bind="articulo.precio | |
294 | currency: notaPedido.moneda.SIMBOLO : 4"></span> | 294 | currency: notaPedido.moneda.SIMBOLO : 4"></span> |
295 | ></span> | 295 | ></span> |
296 | </div> | 296 | </div> |
297 | <div class="col px-1 text-right"> | 297 | <div class="col px-1 text-right"> |
298 | <span | 298 | <span |
299 | ng-bind="(articulo.precio * articulo.cantidad) | | 299 | ng-bind="(articulo.precio * articulo.cantidad) | |
300 | currency: notaPedido.moneda.SIMBOLO" | 300 | currency: notaPedido.moneda.SIMBOLO" |
301 | > | 301 | > |
302 | </span> | 302 | </span> |
303 | </div> | 303 | </div> |
304 | </div> | 304 | </div> |
305 | </div> | 305 | </div> |
306 | <div class="align-middle p-1"> | 306 | <div class="align-middle p-1"> |
307 | <button | 307 | <button |
308 | class="btn btn-outline-light" | 308 | class="btn btn-outline-light" |
309 | ng-click="quitarArticulo(key)" | 309 | ng-click="quitarArticulo(key)" |
310 | > | 310 | > |
311 | <i class="fa fa-trash"></i> | 311 | <i class="fa fa-trash"></i> |
312 | </button> | 312 | </button> |
313 | </div> | 313 | </div> |
314 | </td> | 314 | </td> |
315 | </tr> | 315 | </tr> |
316 | </tbody> | 316 | </tbody> |
317 | <tfoot> | 317 | <tfoot> |
318 | <!-- CARGANDO ITEM --> | 318 | <!-- CARGANDO ITEM --> |
319 | <tr ng-show="!cargando" class="d-flex"> | 319 | <tr ng-show="!cargando" class="d-flex"> |
320 | <td | 320 | <td |
321 | class="align-middle p-1" | 321 | class="align-middle p-1" |
322 | ng-bind="notaPedido.articulosNotaPedido.length + 1" | 322 | ng-bind="notaPedido.articulosNotaPedido.length + 1" |
323 | ></td> | 323 | ></td> |
324 | <td class="col p-0"> | 324 | <td class="col p-0"> |
325 | <div class="d-flex"> | 325 | <div class="d-flex"> |
326 | <div class="col-4 px-1"> | 326 | <div class="col-4 px-1"> |
327 | <span | 327 | <span |
328 | ng-bind="articuloACargar.sectorCodigo" | 328 | ng-bind="articuloACargar.sectorCodigo" |
329 | ></span> | 329 | ></span> |
330 | </div> | 330 | </div> |
331 | <div class="col-8 px-1"> | 331 | <div class="col-8 px-1"> |
332 | <span ng-bind="articuloACargar.descripcion"></span> | 332 | <span ng-bind="articuloACargar.descripcion"></span> |
333 | </div> | 333 | </div> |
334 | </div> | 334 | </div> |
335 | <div class="d-flex"> | 335 | <div class="d-flex"> |
336 | <div class="col-3 px-1 m-1"> | 336 | <div class="col-3 px-1 m-1"> |
337 | <input | 337 | <input |
338 | class="form-control p-1" | 338 | class="form-control p-1" |
339 | foca-tipo-input | 339 | foca-tipo-input |
340 | min="1" | 340 | min="1" |
341 | ng-model="articuloACargar.cantidad" | 341 | ng-model="articuloACargar.cantidad" |
342 | foca-focus="!cargando" | 342 | foca-focus="!cargando" |
343 | ng-keypress="agregarATabla($event.keyCode)" | 343 | ng-keypress="agregarATabla($event.keyCode)" |
344 | style="height: auto; line-height: 1.1em" | 344 | style="height: auto; line-height: 1.1em" |
345 | > | 345 | > |
346 | </div> | 346 | </div> |
347 | <div class="col px-1 text-right"> | 347 | <div class="col px-1 text-right"> |
348 | <span ng-bind="articuloACargar.precio | | 348 | <span ng-bind="articuloACargar.precio | |
349 | currency: notaPedido.moneda.SIMBOLO : 4" | 349 | currency: notaPedido.moneda.SIMBOLO : 4" |
350 | ></span> | 350 | ></span> |
351 | </div> | 351 | </div> |
352 | <div class="col px-1 text-right"> | 352 | <div class="col px-1 text-right"> |
353 | <span | 353 | <span |
354 | ng-bind="getSubTotal() | | 354 | ng-bind="getSubTotal() | |
355 | currency: notaPedido.moneda.SIMBOLO" | 355 | currency: notaPedido.moneda.SIMBOLO" |
356 | > | 356 | > |
357 | </span> | 357 | </span> |
358 | </div> | 358 | </div> |
359 | </div> | 359 | </div> |
360 | </td> | 360 | </td> |
361 | <td class="text-center align-middle"> | 361 | <td class="text-center align-middle"> |
362 | <button | 362 | <button |
363 | class="btn btn-outline-light" | 363 | class="btn btn-outline-light" |
364 | ng-click="agregarATabla(13)" | 364 | ng-click="agregarATabla(13)" |
365 | > | 365 | > |
366 | <i class="fa fa-save"></i> | 366 | <i class="fa fa-save"></i> |
367 | </button> | 367 | </button> |
368 | </td> | 368 | </td> |
369 | </tr> | 369 | </tr> |
370 | <!-- TOOGLE EXPANDIR --> | 370 | <!-- TOOGLE EXPANDIR --> |
371 | <tr> | 371 | <tr> |
372 | <td class="col"> | 372 | <td class="col"> |
373 | <button | 373 | <button |
374 | class="btn btn-outline-light selectable w-100" | 374 | class="btn btn-outline-light selectable w-100" |
375 | ng-click="show = !show; masMenos()" | 375 | ng-click="show = !show; masMenos()" |
376 | ng-show="notaPedido.articulosNotaPedido.length > 0" | 376 | ng-show="notaPedido.articulosNotaPedido.length > 0" |
377 | > | 377 | > |
378 | <i | 378 | <i |
379 | class="fa fa-chevron-down" | 379 | class="fa fa-chevron-down" |
380 | ng-hide="show" | 380 | ng-hide="show" |
381 | aria-hidden="true" | 381 | aria-hidden="true" |
382 | > | 382 | > |
383 | </i> | 383 | </i> |
384 | <i | 384 | <i |
385 | class="fa fa-chevron-up" | 385 | class="fa fa-chevron-up" |
386 | ng-show="show" | 386 | ng-show="show" |
387 | aria-hidden="true"> | 387 | aria-hidden="true"> |
388 | </i> | 388 | </i> |
389 | </button> | 389 | </button> |
390 | </td> | 390 | </td> |
391 | </tr> | 391 | </tr> |
392 | <!-- FOOTER --> | 392 | <!-- FOOTER --> |
393 | <tr class="d-flex"> | 393 | <tr class="d-flex"> |
394 | <td class="align-middle no-border-top" colspan="2"> | 394 | <td class="align-middle no-border-top" colspan="2"> |
395 | <strong>Cantidad Items:</strong> | 395 | <strong>Cantidad Items:</strong> |
396 | <a ng-bind="notaPedido.articulosNotaPedido.length"></a> | 396 | <a ng-bind="notaPedido.articulosNotaPedido.length"></a> |
397 | </td> | 397 | </td> |
398 | <td class="text-right ml-auto table-celda-total no-border-top"> | 398 | <td class="text-right ml-auto table-celda-total no-border-top"> |
399 | <h3>Total:</h3> | 399 | <h3>Total:</h3> |
400 | </td> | 400 | </td> |
401 | <td class="table-celda-total text-right no-border-top"> | 401 | <td class="table-celda-total text-right no-border-top"> |
402 | <h3>{{getTotal() | currency: notaPedido.cotizacion.moneda.SIMBOLO}}</h3> | 402 | <h3>{{getTotal() | currency: notaPedido.cotizacion.moneda.SIMBOLO}}</h3> |
403 | </td> | 403 | </td> |
404 | </tr> | 404 | </tr> |
405 | </tfoot> | 405 | </tfoot> |
406 | </table> | 406 | </table> |
407 | </div> | 407 | </div> |
408 | </div> | 408 | </div> |
409 | </div> | 409 | </div> |
410 | </div> | 410 | </div> |
411 | <div class="row d-md-none fixed-bottom"> | 411 | <div class="row d-md-none fixed-bottom"> |
412 | <div class="w-100 bg-dark d-flex px-3 acciones-mobile"> | 412 | <div class="w-100 bg-dark d-flex px-3 acciones-mobile"> |
413 | <span class="ml-3 text-muted" ng-click="salir()">Salir</span> | 413 | <span class="ml-3 text-muted" ng-click="salir()">Salir</span> |
414 | <span | 414 | <span |
415 | class="mr-3 ml-auto" | 415 | class="mr-3 ml-auto" |
416 | ng-class="saveLoading ? 'text-muted' : ''" | 416 | ng-class="saveLoading ? 'text-muted' : ''" |
417 | ng-click="crearNotaPedido()" | 417 | ng-click="crearNotaPedido()" |
418 | ladda="saveLoading" | 418 | ladda="saveLoading" |
419 | data-style="expand-left" | 419 | data-style="expand-left" |
420 | >Guardar</span> | 420 | >Guardar</span> |
421 | </div> | 421 | </div> |
422 | </div> | 422 | </div> |
423 | </div> | 423 | </div> |
424 | 424 |