nikbel2004@outlook.com 85666a4d36 Правка
2024-05-28 17:20:53 +04:00

61 lines
1.7 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

@using BankContracts.ViewModels.Client.ViewModels
@model List<CardViewModel>
@{
ViewData["Title"] = "Cписок банковских карт";
}
<div class="text-center">
<h1 class="display-4">Банковские карты</h1>
</div>
<div class="text-center">
@{
<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.Number)
</td>
<td>
@Html.DisplayFor(modelItem => item.ClientSurname)
</td>
<td>
@Html.DisplayFor(modelItem => item.Balance)
</td>
<td>
@Html.DisplayFor(modelItem => item.Period)
</td>
</tr>
}
</tbody>
</table>
}
</div>