This commit is contained in:
shadowik 2023-05-18 17:56:52 +04:00
commit 4fb484b683
3 changed files with 7 additions and 6 deletions

View File

@ -450,10 +450,11 @@ namespace BankYouBankruptCashierApp.Controllers
CashierSurname = x.CashierSurname,
Sum = x.Sum,
AccountPayeeNumber = x.AccountPayeeNumber,
AccountSenderNumber = x.AccountSenderNumber,
AccountSenderNumber = x.AccountSenderNumber != null ? x.AccountSenderNumber : "---",
DateOperation = x.DateOperation,
typeOperation = x.AccountSenderId.HasValue ? TypeOperationEnum.Перевод : TypeOperationEnum.Пополнение
});
return View(cashWithdrawals.Concat(moneyTransfers).OrderBy(x => x.DateOperation).ToList());
}

View File

@ -3,7 +3,7 @@
@model List<ReportCashierAccountsViewModel>?
@{
ViewData["Title"] = "Отчет по аккаунтам";
ViewData["Title"] = "Отчет по счетам";
}
<div class="text-center">
@ -37,10 +37,10 @@
Кассир
</th>
<th>
1 Счет
Счет отправителя
</th>
<th>
2 Счет
Счет получателя
</th>
<th>
Сумма операции

View File

@ -13,9 +13,9 @@ namespace BankYouBankruptContracts.ViewModels
public int Sum { get; set; }
public string AccountSenderNumber { get; set; } = string.Empty;
public string AccountSenderNumber { get; set; } = "---";
public string AccountPayeeNumber { get; set; } = string.Empty;
public string AccountPayeeNumber { get; set; } = "---";
public DateTime DateOperation { get; set; } = DateTime.Now;