Commit 0d76ed2a04feb761e29c9c77d6181465350536d0
1 parent
3d313b7d2d
Exists in
master
and in
1 other branch
Mostrando detalle de los productos en la confirmacion de compra.
Showing
2 changed files
with
12 additions
and
4 deletions
Show diff stats
src/app/components/confirmacion-carrito/confirmacion-carrito.component.html
| ... | ... | @@ -11,7 +11,6 @@ |
| 11 | 11 | <div class="col-12 p-0"> |
| 12 | 12 | <p class="h5 py-1 bg-gray text-muted text-center m-0"> |
| 13 | 13 | Pagar |
| 14 | - <i class="fa fa-usd"></i> | |
| 15 | 14 | </p> |
| 16 | 15 | </div> |
| 17 | 16 | </div> |
| ... | ... | @@ -46,10 +45,20 @@ |
| 46 | 45 | {{producto.DET_LAR}} |
| 47 | 46 | </small> |
| 48 | 47 | </p> |
| 48 | + <p *ngFor="let p of producto.productos" class="h6 text-left m-0"> | |
| 49 | + <small> | |
| 50 | + - {{p.cantidad}} {{p.DET_LAR}} | |
| 51 | + </small> | |
| 52 | + </p> | |
| 49 | 53 | <div class="row m-0"> |
| 50 | - <div class="col-12 my-auto pt-2 pr-2 p-0"> | |
| 54 | + <div class="col-6 my-auto pt-2 pr-2 p-0"> | |
| 55 | + <p class="text-left m-0 h6"> | |
| 56 | + {{producto.cantidad}} x {{producto.PreVen | currency}} | |
| 57 | + </p> | |
| 58 | + </div> | |
| 59 | + <div class="col-6 my-auto pt-2 pr-2 p-0"> | |
| 51 | 60 | <p class="text-right m-0 h6"> |
| 52 | - {{producto.PreVen | currency}} | |
| 61 | + {{producto.cantidad * producto.PreVen | currency}} | |
| 53 | 62 | </p> |
| 54 | 63 | </div> |
| 55 | 64 | </div> |