Commit f9d0c9aad78207b64057cb57773f1a98ea3e85ee

Authored by Nicolás Guarnieri
1 parent 5cb1b704e7
Exists in master

editar en mobile

Showing 1 changed file with 23 additions and 3 deletions   Show diff stats
src/views/nota-pedido.html
... ... @@ -334,9 +334,29 @@
334 334 </div>
335 335 <div class="d-flex">
336 336 <div class="col-3 px-1">
337   - <span ng-bind="'x' + articulo.cantidad"></span>
  337 + <span
  338 + ng-bind="'x' + articulo.cantidad"
  339 + ng-hide="articulo.editCantidad"
  340 + ></span>
  341 + <i
  342 + class="fa fa-pencil text-white-50"
  343 + aria-hidden="true"
  344 + ng-hide="articulo.editCantidad"
  345 + ng-click="articulo.editCantidad = true"
  346 + ></i>
  347 + <input
  348 + ng-show="articulo.editCantidad"
  349 + ng-model="articulo.cantidad"
  350 + class="form-control"
  351 + foca-tipo-input
  352 + min="1"
  353 + step="0.001"
  354 + foca-focus="articulo.editCantidad"
  355 + ng-keypress="editarArticulo($event.keyCode, articulo)"
  356 + ng-focus="selectFocus($event)"
  357 + >
338 358 </div>
339   - <div class="col-3 px-1 text-right">
  359 + <div class="col px-1 text-right">
340 360 <span ng-bind="articulo.precio | currency: notaPedido.moneda.simbolo : 4"></span>
341 361 </div>
342 362 <div class="col px-1 text-right">
... ... @@ -388,7 +408,7 @@
388 408 style="height: auto; line-height: 1.1em"
389 409 >
390 410 </div>
391   - <div class="col-3 px-1 text-right">
  411 + <div class="col px-1 text-right">
392 412 <span ng-bind="articuloACargar.precio | currency: notaPedido.moneda.simbolo : 4"></span>
393 413 </div>
394 414 <div class="col px-1 text-right">