2023-05-19 01:12:27 +04:00
|
|
|
@using BankYouBankruptContracts.ViewModels;
|
|
|
|
|
|
|
|
@model ReportClientViewModelForHTML
|
|
|
|
|
|
|
|
@{
|
2023-05-18 00:47:56 +04:00
|
|
|
ViewData["Title"] = "Создание отчёта";
|
2023-05-18 00:04:33 +04:00
|
|
|
}
|
2023-05-18 00:47:56 +04:00
|
|
|
|
|
|
|
<div class="text-center">
|
|
|
|
<h2 class="display-4">Отчёт по картам за выбранный период</h2>
|
|
|
|
</div>
|
|
|
|
<form method="post">
|
|
|
|
<div class="row">
|
|
|
|
<div class="col-4">Дата начала периода:</div>
|
|
|
|
<div class="col-8">
|
|
|
|
<input id="dateFrom" name="dateFrom" class="form-control" type="date" />
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="row">
|
|
|
|
<div class="col-4">Дата конца периода:</div>
|
|
|
|
<div class="col-8">
|
|
|
|
<input id="dateTo" name="dateTo" class="form-control" type="date" />
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="row">
|
|
|
|
<div class="col-8"></div>
|
|
|
|
<div class="col-4">
|
2023-05-18 21:57:14 +04:00
|
|
|
<input id="createReport" type="submit" value="Сформировать отчёт" class="btn btn-primary" />
|
2023-05-18 00:47:56 +04:00
|
|
|
</div>
|
|
|
|
</div>
|
2023-05-19 01:12:27 +04:00
|
|
|
@if (Model != null)
|
|
|
|
{
|
|
|
|
<div class="row">
|
|
|
|
<p>Отчёт по пополнениям</p>
|
|
|
|
<table class="table">
|
|
|
|
<thead>
|
|
|
|
<tr>
|
|
|
|
<th>
|
|
|
|
Номер операции
|
|
|
|
</th>
|
|
|
|
<th>
|
|
|
|
Номер карты
|
|
|
|
</th>
|
|
|
|
<th>
|
|
|
|
Сумма
|
|
|
|
</th>
|
|
|
|
<th>
|
|
|
|
Дата операции
|
|
|
|
</th>
|
|
|
|
</tr>
|
|
|
|
</thead>
|
|
|
|
<tbody>
|
|
|
|
@foreach (var item in Model.ReportCrediting)
|
|
|
|
{
|
|
|
|
<tr>
|
|
|
|
<td>
|
|
|
|
@Html.DisplayFor(modelItem => item.OperationId)
|
|
|
|
</td>
|
|
|
|
<td>
|
|
|
|
@Html.DisplayFor(modelItem => item.CardNumber)
|
|
|
|
</td>
|
|
|
|
<td>
|
|
|
|
@Html.DisplayFor(modelItem => item.SumOperation)
|
|
|
|
</td>
|
|
|
|
<td>
|
|
|
|
@Html.DisplayFor(modelItem => item.DateComplite)
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
}
|
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
</div>
|
|
|
|
<div class="row">
|
|
|
|
<p>Отчёт по снятиям</p>
|
|
|
|
<table class="table">
|
|
|
|
<thead>
|
|
|
|
<tr>
|
|
|
|
<th>
|
|
|
|
Номер операции
|
|
|
|
</th>
|
|
|
|
<th>
|
|
|
|
Номер карты
|
|
|
|
</th>
|
|
|
|
<th>
|
|
|
|
Сумма
|
|
|
|
</th>
|
|
|
|
<th>
|
|
|
|
Дата операции
|
|
|
|
</th>
|
|
|
|
</tr>
|
|
|
|
</thead>
|
|
|
|
<tbody>
|
|
|
|
@foreach (var item in Model.ReportDebiting)
|
|
|
|
{
|
|
|
|
<tr>
|
|
|
|
<td>
|
|
|
|
@Html.DisplayFor(modelItem => item.OperationId)
|
|
|
|
</td>
|
|
|
|
<td>
|
|
|
|
@Html.DisplayFor(modelItem => item.CardNumber)
|
|
|
|
</td>
|
|
|
|
<td>
|
|
|
|
@Html.DisplayFor(modelItem => item.SumOperation)
|
|
|
|
</td>
|
|
|
|
<td>
|
|
|
|
@Html.DisplayFor(modelItem => item.DateComplite)
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
}
|
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
</div>
|
|
|
|
}
|
2023-05-18 21:57:14 +04:00
|
|
|
</form>
|