Commit aff6290492bbecd1b3999f9dc09955a8e57a018f
1 parent
f1107299d8
Exists in
master
editar en mobile
Showing
1 changed file
with
23 additions
and
3 deletions
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"> |