20 lines
449 B
HTML
20 lines
449 B
HTML
|
|
||
|
|
||
|
<div *ngFor="let item of items">
|
||
|
{{ item.title }} ({{ item.price }} EUR/KG)
|
||
|
<a href
|
||
|
style="text-decoration: none"
|
||
|
(click)="decreaseQuantity(item); false"> - </a>
|
||
|
<input size="1" [(ngModel)]="item.quantity">
|
||
|
<a href
|
||
|
style="text-decoration: none"
|
||
|
(click)="increaseQuantity(item); false"> + </a>
|
||
|
</div>
|
||
|
|
||
|
<br />
|
||
|
Kokku: {{ getTotal() }} EUR
|
||
|
|
||
|
<br /><br />
|
||
|
|
||
|
<button>Saada tellimus</button>
|