@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="CloseCrediting">Одобрение заявки</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.Id) </td> <td> @Html.DisplayFor(modelItem => item.CardNumber) </td> <td> @Html.DisplayFor(modelItem => item.Sum) </td> <td> @Html.DisplayFor(modelItem => item.DateOpen) </td> <td> @Html.DisplayFor(modelItem => item.Status) </td> </tr> } </tbody> </table> } </div>