diff --git a/BankYouBankrupt/BankYouBankruptBusinessLogic/BusinessLogics/ReportCashierLogic.cs b/BankYouBankrupt/BankYouBankruptBusinessLogic/BusinessLogics/ReportCashierLogic.cs index 16d7839..6dbf8c7 100644 --- a/BankYouBankrupt/BankYouBankruptBusinessLogic/BusinessLogics/ReportCashierLogic.cs +++ b/BankYouBankrupt/BankYouBankruptBusinessLogic/BusinessLogics/ReportCashierLogic.cs @@ -5,6 +5,7 @@ using BankYouBankruptContracts.BusinessLogicsContracts; using BankYouBankruptContracts.SearchModels; using BankYouBankruptContracts.StoragesContracts; using BankYouBankruptContracts.ViewModels; +using BankYouBankruptDataModels.Enums; using System; using System.Collections.Generic; using System.Linq; @@ -72,7 +73,7 @@ namespace BankYouBankruptBusinessLogic.BusinessLogics } //формирование списка выдаци наличных со счёта за период - public List? GetMoneyTransfers(ReportBindingModel model) + public List? GetDebitings(ReportBindingModel model) { return _moneyTransferStorage.GetFilteredList(new MoneyTransferSearchModel { ClientId = model.ClientId, DateFrom = model.DateFrom, DateTo = model.DateTo }) .Select(x => new ReportCashierViewModel @@ -112,8 +113,8 @@ namespace BankYouBankruptBusinessLogic.BusinessLogics Title = "Заявки на счёт", - Debiting = - }); + Debiting = null + }, ExcelOperationEnum.Для_кассира); } //Сохранение заказов в файл-Pdf