This repository has been archived on 2022-08-25. You can view files and clone it, but cannot push or open issues or pull requests.
Files
Frontend/src/app/cart/cart.component.html
Mondei1 03227b8b0f Some new animations in cart
Long addresses will be capped (copy will come in next commit)
2021-01-24 19:58:02 +01:00

10 lines
723 B
HTML

<div class="cart" xyz="stagger-0.5 fade-100% down-1 ease-ease">
<ul>
<li *ngFor="let item of this.backend.invoice.cart;let indexOfelement=index;" class="item" [ngClass]="{'xyz-in': this.state.showCart.value, 'xyz-out': !this.state.showCart.value}">
<img [src]="item.image" class="image">
<h5 class="name">{{ item.name }}<span class="quantity" *ngIf="item.quantity !== 1"> x{{ item.quantity }}</span></h5>
<span class="price"><b>{{ (item.price * item.quantity).toFixed(2) }} {{ this.backend.currencyPrefix() }}</b><br>
{{ this.backend.calculateCryptoPrice(indexOfelement).toFixed(8) }} {{ this.backend.invoice.paymentMethod }}</span>
</li>
</ul>
</div>