Lab4 done
This commit is contained in:
parent
9cfe868c17
commit
258f92d546
@ -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>
|
||||
|
@ -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;
|
||||
}
|
||||
|
@ -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();
|
||||
|
Loading…
x
Reference in New Issue
Block a user