Created
September 22, 2022 14:42
-
-
Save chaudarywajid/f127dcce818c7571aa85a17032a1672b to your computer and use it in GitHub Desktop.
List Order Front End View
This file contains 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
<!-- Table --> | |
<section> | |
<h2>Order List</h2> | |
<div class="table-wrapper"> | |
<table id="mainGrid" class="alt"> | |
<thead> | |
<tr> | |
<th>Order No.</th> | |
<th>Order Date</th> | |
<th>Customer</th> | |
<th>Status</th> | |
<th>Quantity</th> | |
<th>Delivery Fee</th> | |
<th>Sale Price</th> | |
<th>Total Price</th> | |
</tr> | |
</thead> | |
<tbody> | |
@foreach (var item in Model) | |
{ | |
qty = qty + item.TotalQuantity; | |
<tr> | |
<td>@item.ID</td> | |
<td>@item.OrderDateTime</td> | |
<td>@item.Customer</td> | |
<td><a href="~/Order/EditStatus/@item.ID"> @item.StatusName </a></td> | |
<td>@item.TotalQuantity</td> | |
<td>@item.DeliveryFee</td> | |
<td>@item.SaleAmount</td> | |
<td>@item.TotalAmount</td> | |
</tr> | |
} | |
</tbody> | |
<tfoot> | |
<tr> | |
<td colspan="6"><strong></strong></td> | |
<td><strong></strong></td> | |
</tr> | |
</tfoot> | |
</table> | |
</div> | |
<div style="margin-top: 5px; float: left;"><a href="~/Home" class="button btn btn-success icon solid fa-backward">Back to Home</a></div> | |
<div style="float: right" id="pageNavPosition" class="pager-nav"></div> | |
<div style="clear:both"></div> | |
</section> | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment