176 lines
4.3 KiB
Plaintext
176 lines
4.3 KiB
Plaintext
@using BankYouBankruptContracts.ViewModels;
|
||
|
||
@model ReportCashierViewModelForHTML
|
||
|
||
@{
|
||
ViewData["Title"] = "Создание отчёта";
|
||
}
|
||
|
||
<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">
|
||
<select id="clientId" name="clientId" class="form-control" asp-items="@(new SelectList( @ViewBag.Clients, "Id", "FullName"))"></select>
|
||
</div>
|
||
</div>
|
||
<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">
|
||
<input type="submit" value="Сформировать отчёт" class="btn btn-primary" />
|
||
</div>
|
||
</div>
|
||
<hr class="mt-5 mb-3" />
|
||
@if (Model != null)
|
||
{
|
||
<div class="row p-3 text-center">
|
||
<h4>Отчёт по выдаче наличных со счёта</h4>
|
||
<table class="table">
|
||
<thead>
|
||
<tr>
|
||
<th>
|
||
Номер операции
|
||
</th>
|
||
<th>
|
||
Номер счёта
|
||
</th>
|
||
<th>
|
||
Сумма операции
|
||
</th>
|
||
<th>
|
||
Дата операции
|
||
</th>
|
||
</tr>
|
||
</thead>
|
||
<tbody>
|
||
@foreach (var item in Model.ReportCashWithdrawal)
|
||
{
|
||
<tr>
|
||
<td>
|
||
@Html.DisplayFor(modelItem => item.OperationId)
|
||
</td>
|
||
<td>
|
||
@Html.DisplayFor(modelItem => item.AccountPayeeNumber)
|
||
</td>
|
||
<td>
|
||
@Html.DisplayFor(modelItem => item.SumOperation)
|
||
</td>
|
||
<td>
|
||
@Html.DisplayFor(modelItem => item.DateComplite)
|
||
</td>
|
||
</tr>
|
||
}
|
||
</tbody>
|
||
</table>
|
||
</div>
|
||
<hr class="my-12" />
|
||
<div class="row p-3 text-center">
|
||
<h4>Отчёт по денежным переводам между счетами</h4>
|
||
<table class="table">
|
||
<thead>
|
||
<tr>
|
||
<th>
|
||
Номер операции
|
||
</th>
|
||
<th>
|
||
Номер счёта отправителя
|
||
</th>
|
||
<th>
|
||
Номер счёта получаетля
|
||
</th>
|
||
<th>
|
||
Сумма операции
|
||
</th>
|
||
<th>
|
||
Дата операции
|
||
</th>
|
||
</tr>
|
||
</thead>
|
||
<tbody>
|
||
@foreach (var item in Model.ReportMoneyTransfer)
|
||
{
|
||
<tr>
|
||
<td>
|
||
@Html.DisplayFor(modelItem => item.OperationId)
|
||
</td>
|
||
<td>
|
||
@Html.DisplayFor(modelItem => item.AccountSenderNumber)
|
||
</td>
|
||
<td>
|
||
@Html.DisplayFor(modelItem => item.AccountPayeeNumber)
|
||
</td>
|
||
<td>
|
||
@Html.DisplayFor(modelItem => item.SumOperation)
|
||
</td>
|
||
<td>
|
||
@Html.DisplayFor(modelItem => item.DateComplite)
|
||
</td>
|
||
</tr>
|
||
}
|
||
</tbody>
|
||
</table>
|
||
</div>
|
||
}
|
||
</form>
|
||
|
||
<!--@{
|
||
ViewData["Title"] = "Создание отчёта";
|
||
}
|
||
|
||
<div class="text-center">
|
||
<h2 class="display-4">Создание отчёта</h2>
|
||
</div>
|
||
<form method="post">
|
||
<div class="container px-4">
|
||
<div class="row gx-5">
|
||
<div class="col">
|
||
<div class="p-3">С</div>
|
||
</div>
|
||
<div class="col">
|
||
<div class="p-3 btn-group">
|
||
<button class="btn btn-secondary btn-sm dropdown-toggle" type="button" data-bs-toggle="dropdown" aria-expanded="false" padding="10">
|
||
Начало периода
|
||
</button>
|
||
<ul class="dropdown-menu">
|
||
...
|
||
</ul>
|
||
</div>
|
||
</div>
|
||
<div class="col">
|
||
<div class="p-3">по</div>
|
||
</div>
|
||
<div class="col">
|
||
<div class="p-3 btn-group">
|
||
<button class="btn btn-secondary btn-sm dropdown-toggle" type="button" data-bs-toggle="dropdown" aria-expanded="false" padding="10">
|
||
Конец периода
|
||
</button>
|
||
<ul class="dropdown-menu">
|
||
...
|
||
</ul>
|
||
</div>
|
||
</div>
|
||
<div class="col">
|
||
<div class="p-3">
|
||
<button type="button" class="btn btn-primary з-3">Создать</button>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
<div class="row">
|
||
<div class="col-4">Отчёт:</div>
|
||
</div>
|
||
</form> --> |