Created
February 16, 2021 12:29
-
-
Save jzwang-dev/2d99a1ee7591f5861028dbfc8f516e92 to your computer and use it in GitHub Desktop.
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
@model Models.Order | |
@{ | |
Layout = null; | |
} | |
訂單編號:@Model.order_id<br> | |
顧客E-mail:@Model.customer_email<br> | |
訂單明細<br> | |
<table border="1" cellpadding="5"> | |
<tr> | |
<th>產品</th> | |
<th>數量</th> | |
</tr> | |
@foreach(var detail in Model.details) | |
{ | |
<tr> | |
<td>@detail.product_name</td> | |
<td>@detail.quantity</td> | |
</tr> | |
} | |
</table> | |
@ViewContext.Controller.ViewBag.remark |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment