You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
943 B
26 lines
943 B
<ng-container *ngIf="cartdetails.length !=0">
|
|
<div class="container">
|
|
<div class="card-table">
|
|
<table class="table">
|
|
<thead>
|
|
<tr>
|
|
<th>S.No</th>
|
|
<th>ProductName</th>
|
|
<th>ProductPrice</th>
|
|
</tr>
|
|
</thead>
|
|
|
|
<tbody>
|
|
<tr *ngFor="let c of cartdetails; let i = index">
|
|
<td>{{i+1}}</td>
|
|
<td>{{c.productname}}</td>
|
|
<td>{{c.productprice}}</td>
|
|
</tr>
|
|
<td><strong>Grand Total : Rs.{{grandTotal}}</strong></td>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<button (click)=logout() class="CartButtons">log out</button>
|
|
<button class="placeorder" (click)=place()>Place order</button>
|
|
</div>
|
|
</ng-container>
|