Commit 00361964f148f6c879077bddad98847443fab1c9
Exists in
master
and in
1 other branch
Merge branch 'master' into 'master'
Master See merge request modulos-npm/foca-crear-nota-pedido!92
Showing
1 changed file
Show diff stats
src/views/nota-pedido.html
| ... | ... | @@ -344,12 +344,31 @@ |
| 344 | 344 | </div> |
| 345 | 345 | <div class="d-flex"> |
| 346 | 346 | <div class="col-3 px-1"> |
| 347 | - <span ng-bind="'x' + articulo.cantidad"></span> | |
| 347 | + <span | |
| 348 | + ng-bind="'x' + articulo.cantidad" | |
| 349 | + ng-hide="articulo.editCantidad" | |
| 350 | + ></span> | |
| 351 | + <i | |
| 352 | + class="fa fa-pencil text-white-50" | |
| 353 | + aria-hidden="true" | |
| 354 | + ng-hide="articulo.editCantidad" | |
| 355 | + ng-click="articulo.editCantidad = true" | |
| 356 | + ></i> | |
| 357 | + <input | |
| 358 | + ng-show="articulo.editCantidad" | |
| 359 | + ng-model="articulo.cantidad" | |
| 360 | + class="form-control" | |
| 361 | + foca-tipo-input | |
| 362 | + min="1" | |
| 363 | + step="0.001" | |
| 364 | + foca-focus="articulo.editCantidad" | |
| 365 | + ng-keypress="editarArticulo($event.keyCode, articulo)" | |
| 366 | + ng-focus="selectFocus($event)" | |
| 367 | + > | |
| 348 | 368 | </div> |
| 349 | - <div class="col-3 px-1 text-right"> | |
| 350 | - <span | |
| 351 | - ng-bind="articulo.precio | | |
| 352 | - currency: notaPedido.moneda.SIMBOLO : 4" | |
| 369 | + <div class="col px-1 text-right"> | |
| 370 | + <span ng-bind="articulo.precio | | |
| 371 | + currency: notaPedido.moneda.SIMBOLO : 4"></span> | |
| 353 | 372 | ></span> |
| 354 | 373 | </div> |
| 355 | 374 | <div class="col px-1 text-right"> |
| ... | ... | @@ -402,9 +421,10 @@ |
| 402 | 421 | style="height: auto; line-height: 1.1em" |
| 403 | 422 | > |
| 404 | 423 | </div> |
| 405 | - <div class="col-3 px-1 text-right"> | |
| 424 | + <div class="col px-1 text-right"> | |
| 406 | 425 | <span ng-bind="articuloACargar.precio | |
| 407 | - currency: notaPedido.moneda.SIMBOLO : 4"></span> | |
| 426 | + currency: notaPedido.moneda.SIMBOLO : 4" | |
| 427 | + ></span> | |
| 408 | 428 | </div> |
| 409 | 429 | <div class="col px-1 text-right"> |
| 410 | 430 | <span |