Created
January 6, 2022 13:40
-
-
Save Bilkiss/6fc6166bd8094ff4fefd49f801d5b6b2 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class="card"> | |
<div class="card-body"> | |
<table class="table table-striped table-hover"> | |
<thead> | |
<tr> | |
<th scope="col">Name</th> | |
<th scope="col" class="col-2 text-center">Price (<i class="fa fa-dollar" aria-hidden="true"></i>)</th> | |
<th scope="col" class="text-end pe-5 col-2">Action</th> | |
</tr> | |
</thead> | |
<tbody> | |
<tr *ngFor="let item of productList$ | async"> | |
<td>{{item?.name}}</td> | |
<td class="text-center">{{item?.price | currency}}</td> | |
<td class="text-end pe-5"> | |
<button class="btn btn-danger btn-sm" (click)="removeStoreProduct(item.name)"> | |
<i class="fa fa-trash" aria-hidden="true"></i> | |
</button> | |
</td> | |
</tr> | |
</tbody> | |
</table> | |
<div class="row g-0"> | |
<div class="col-10 pe-5"> | |
<app-total></app-total> | |
</div> | |
</div> | |
</div> | |
</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment