Lab4 done

This commit is contained in:
grishazagidulin 2024-12-16 16:57:07 +04:00
parent 9cfe868c17
commit 258f92d546
3 changed files with 2 additions and 3 deletions

View File

@ -10,7 +10,6 @@ namespace Workshop
{
internal static class Program
{
//TODO: Èçìåíèòü chequeId íà productId â TableReport, ChequeRepository, IChequeRepository
/// <summary>
/// The main entry point for the application.
/// </summary>

View File

@ -24,7 +24,7 @@ internal class ChartReport
{
new PDFBuilder(filePath)
.AddHeader("Создание изделий")
.AddPieChart("Изделия", GetData(dateTimeStart, dateTimeEnd))
.AddPieChart($"Созданные изделия за период с {dateTimeStart:dd.MM.yyyy} по {dateTimeEnd:dd.MM.yyyy}", GetData(dateTimeStart, dateTimeEnd))
.Build();
return true;
}

View File

@ -23,7 +23,7 @@ namespace Workshop.Reports
{
new ExcelBuilder(filePath)
.AddHeader("Сводка по движению изделия", 0, 3)
.AddParagraph("за период", 0)
.AddParagraph($"за период с {startDate:dd.MM.yyyy} по {endDate:dd.MM.yyyy}", 0)
.AddTable([15, 15, 15, 15], GetData(productId, startDate,
endDate))
.Build();