This commit is contained in:
Programmist73 2023-05-19 20:41:17 +04:00
parent dd8c769984
commit 89c6e62c64

View File

@ -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<ReportCashierViewModel>? GetMoneyTransfers(ReportBindingModel model)
public List<ReportCashierViewModel>? 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