67 lines
1.2 KiB
Plaintext
67 lines
1.2 KiB
Plaintext
@using BankYouBankruptContracts.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="CreateCard">Снять средства</a>
|
|
</p>
|
|
<table class="table">
|
|
<thead>
|
|
<tr>
|
|
<th>
|
|
Номер карты
|
|
</th>
|
|
<th>
|
|
Сумма
|
|
</th>
|
|
<th>
|
|
Статус
|
|
</th>
|
|
<th>
|
|
Дата открытия
|
|
</th>
|
|
<th>
|
|
Дата закрытия
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
@foreach (var item in Model)
|
|
{
|
|
<tr>
|
|
<td>
|
|
@Html.DisplayFor(modelItem => item.CardNumber)
|
|
</td>
|
|
<td>
|
|
@Html.DisplayFor(modelItem => item.Sum)
|
|
</td>
|
|
<td>
|
|
@Html.DisplayFor(modelItem => item.Status)
|
|
</td>
|
|
<td>
|
|
@Html.DisplayFor(modelItem => item.DateOpen)
|
|
</td>
|
|
<td>
|
|
@Html.DisplayFor(modelItem => item.DateClose)
|
|
</td>
|
|
</tr>
|
|
}
|
|
</tbody>
|
|
</table>
|
|
}
|
|
</div> |