Commit d89e41732121427fd254f47c2462799bff65c888
Exists in
master
Merge branch 'master' into 'master'
editar en mobile See merge request modulos-npm/foca-crear-remito!21
Showing
1 changed file
Show diff stats
src/views/remito.html
... | ... | @@ -327,14 +327,34 @@ |
327 | 327 | ></span> |
328 | 328 | </div> |
329 | 329 | <div class="col-8 px-1"> |
330 | - <span ng-bind="articulo.descripcion"></span> | |
330 | + <span | |
331 | + ng-bind="'x' + articulo.cantidad" | |
332 | + ng-hide="articulo.editCantidad" | |
333 | + ></span> | |
334 | + <i | |
335 | + class="fa fa-pencil text-white-50" | |
336 | + aria-hidden="true" | |
337 | + ng-hide="articulo.editCantidad" | |
338 | + ng-click="articulo.editCantidad = true" | |
339 | + ></i> | |
340 | + <input | |
341 | + ng-show="articulo.editCantidad" | |
342 | + ng-model="articulo.cantidad" | |
343 | + class="form-control" | |
344 | + foca-tipo-input | |
345 | + min="1" | |
346 | + step="0.001" | |
347 | + foca-focus="articulo.editCantidad" | |
348 | + ng-keypress="editarArticulo($event.keyCode, articulo)" | |
349 | + ng-focus="selectFocus($event)" | |
350 | + > | |
331 | 351 | </div> |
332 | 352 | </div> |
333 | 353 | <div class="d-flex"> |
334 | 354 | <div class="col-3 px-1"> |
335 | 355 | <span ng-bind="'x' + articulo.cantidad"></span> |
336 | 356 | </div> |
337 | - <div class="col-3 px-1 text-right"> | |
357 | + <div class="col px-1 text-right"> | |
338 | 358 | <span ng-bind="articulo.precio | currency: remito.moneda.SIMBOLO : 4"></span> |
339 | 359 | </div> |
340 | 360 | <div class="col px-1 text-right"> |
... | ... | @@ -386,7 +406,7 @@ |
386 | 406 | style="height: auto; line-height: 1.1em" |
387 | 407 | > |
388 | 408 | </div> |
389 | - <div class="col-3 px-1 text-right"> | |
409 | + <div class="col px-1 text-right"> | |
390 | 410 | <span ng-bind="articuloACargar.precio | currency: remito.moneda.SIMBOLO : 4"></span> |
391 | 411 | </div> |
392 | 412 | <div class="col px-1 text-right"> |