2024-05-25 17:47:14 +04:00
|
|
|
@using ElectronicsShopContracts.ViewModels
|
|
|
|
|
2024-06-01 05:23:37 +04:00
|
|
|
@model List<PaymeantViewModel>
|
2024-05-25 17:47:14 +04:00
|
|
|
|
|
|
|
@{
|
|
|
|
ViewData["Title"] = "Home Page";
|
|
|
|
}
|
|
|
|
|
|
|
|
<div class="text-center">
|
|
|
|
<h1 class="display-4">Заказы</h1>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
<div class="text-center">
|
|
|
|
@{
|
|
|
|
if (Model == null) {
|
|
|
|
<h3 class="display-4">Авторизируйтесь</h3>
|
|
|
|
return;
|
|
|
|
}
|
|
|
|
<table class="table">
|
|
|
|
<thead>
|
2024-05-29 23:03:32 +04:00
|
|
|
<tr>
|
2024-06-01 05:23:37 +04:00
|
|
|
<th>
|
|
|
|
Номер
|
|
|
|
</th>
|
2024-05-25 17:47:14 +04:00
|
|
|
<th>
|
|
|
|
Номер заказа
|
|
|
|
</th>
|
|
|
|
<th>
|
2024-06-01 05:23:37 +04:00
|
|
|
Сумма к оплате
|
2024-05-25 17:47:14 +04:00
|
|
|
</th>
|
|
|
|
<th>
|
2024-06-01 05:23:37 +04:00
|
|
|
Статус оплаты
|
2024-05-25 17:47:14 +04:00
|
|
|
</th>
|
2024-05-29 23:03:32 +04:00
|
|
|
</tr>
|
2024-05-25 17:47:14 +04:00
|
|
|
</thead>
|
|
|
|
<tbody>
|
|
|
|
@foreach (var item in Model) {
|
2024-06-01 00:42:46 +04:00
|
|
|
<tr>
|
2024-05-25 17:47:14 +04:00
|
|
|
<th>
|
|
|
|
@Html.DisplayFor(modelItem => item.ID)
|
|
|
|
</th>
|
|
|
|
<th>
|
2024-06-01 05:23:37 +04:00
|
|
|
@Html.DisplayFor(modelItem => item.OrderID)
|
|
|
|
</th>
|
|
|
|
<th>
|
|
|
|
@Html.DisplayFor(modelItem => item.SumPayment)
|
2024-05-25 17:47:14 +04:00
|
|
|
</th>
|
|
|
|
<th>
|
2024-06-01 05:23:37 +04:00
|
|
|
@Html.DisplayFor(modelItem => item.PayOption)
|
2024-05-25 17:47:14 +04:00
|
|
|
</th>
|
2024-06-01 00:42:46 +04:00
|
|
|
</tr>
|
2024-05-25 17:47:14 +04:00
|
|
|
}
|
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
}
|
|
|
|
</div>
|