62 lines
1.1 KiB
Plaintext
62 lines
1.1 KiB
Plaintext
@using BankContracts.ViewModels.Client.ViewModels
|
|
|
|
@model List<CreditingViewModel>
|
|
|
|
@{
|
|
ViewData["Title"] = "Заявки на зачисление";
|
|
}
|
|
|
|
<div class="text-center">
|
|
<h1 class="display-4">Заявки</h1>
|
|
</div>
|
|
|
|
<div class="text-center">
|
|
@{
|
|
if (Model == null)
|
|
{
|
|
<h3 class="display-4">Сначала авторизируйтесь</h3>
|
|
return;
|
|
}
|
|
<p>
|
|
<a asp-action="CloseCrediting">Одобрение заявки</a>
|
|
</p>
|
|
<table class="table">
|
|
<thead>
|
|
<tr>
|
|
<th>
|
|
Номер заявки
|
|
</th>
|
|
<th>
|
|
Номер карты
|
|
</th>
|
|
<th>
|
|
Сумма зачисления
|
|
</th>
|
|
<th>
|
|
Дата заявки
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
@foreach (var item in Model)
|
|
{
|
|
<tr>
|
|
<td>
|
|
@Html.DisplayFor(modelItem => item.Id)
|
|
</td>
|
|
<td>
|
|
@Html.DisplayFor(modelItem => item.CardNumber)
|
|
</td>
|
|
<td>
|
|
@Html.DisplayFor(modelItem => item.Sum)
|
|
</td>
|
|
<td>
|
|
@Html.DisplayFor(modelItem => item.DateCredit)
|
|
</td>
|
|
</tr>
|
|
}
|
|
</tbody>
|
|
</table>
|
|
}
|
|
</div>
|