Compare commits
2 Commits
4dc0725936
...
37dd35b29c
Author | SHA1 | Date | |
---|---|---|---|
37dd35b29c | |||
d08448f7dc |
@ -79,10 +79,23 @@ namespace BankBusinessLogic.BusinessLogic
|
||||
_saveToWord.CreateDoc(new WordInfo
|
||||
{
|
||||
FileName = model.FileName,
|
||||
Title = "Список кузнечных изделий",
|
||||
Title = "Список переводов",
|
||||
Transfers = CreateReportTransfers(new CardSearchModel
|
||||
{
|
||||
SelectedCardIds = model.S
|
||||
SelectedCardIds = model.SelectedCardIds
|
||||
})
|
||||
});
|
||||
}
|
||||
|
||||
public void SaveTransfersToExcelFile(ReportBindingModel model)
|
||||
{
|
||||
_saveToExcel.CreateReport(new ExcelInfo
|
||||
{
|
||||
FileName = model.FileName,
|
||||
Title = "Список переводов",
|
||||
Transfers = CreateReportTransfers(new CardSearchModel
|
||||
{
|
||||
SelectedCardIds = model.SelectedCardIds
|
||||
})
|
||||
});
|
||||
}
|
||||
@ -93,6 +106,22 @@ namespace BankBusinessLogic.BusinessLogic
|
||||
{
|
||||
return _cardStorage.GetReportOperationsRequestsList(model);
|
||||
}
|
||||
|
||||
public void SaveOperationsRequestsToPdfFile(ReportBindingModel model)
|
||||
{
|
||||
_saveToPdf.CreateDoc(new PdfInfo
|
||||
{
|
||||
FileName = model.FileName,
|
||||
Title = "Отчет по картам",
|
||||
DateFrom = model.DateFrom!.Value,
|
||||
DateTo = model.DateTo!.Value,
|
||||
OperationsRequests = CreateReportOperationsRequests(new CardSearchModel
|
||||
{
|
||||
DateFrom = model.DateFrom!.Value,
|
||||
DateTo = model.DateTo!.Value,
|
||||
})
|
||||
});
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region//отчеты по счетам за период с расшифровкой по переводам и выдачам в формате pdf
|
||||
|
@ -12,5 +12,6 @@ namespace BankContracts.BindingModels
|
||||
public DateTime? DateFrom { get; set; }
|
||||
public DateTime? DateTo { get; set; }
|
||||
public List<int>? SelectedAccountIds { get; set; }
|
||||
public List<int>? SelectedCardIds { get; set; }
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user