отчет

This commit is contained in:
Allllen4a 2024-04-16 20:20:24 +04:00
parent c687dd9cc9
commit b419a10bd8

View File

@ -29,6 +29,8 @@ namespace TransportCompanyBusinessLogic.OfficePackage
CreateParagraph(new WordParagraph
{
Texts = new List<(string, WordTextProperties)> {
(transportation.DriverFio, new WordTextProperties { Size = "12", Bold = true}),
("\t"+transportation.Model.ToString(), new WordTextProperties{Size = "12"}), ("\t"+transportation.PointNameFrom.ToString(), new WordTextProperties{Size = "12"}), ("\t"+transportation.PointNameTo.ToString(), new WordTextProperties{Size = "12"}), ("\t"+transportation.DepartureDate.ToString(), new WordTextProperties{Size = "12"}), ("\t"+transportation.ArrivalDate.ToString(), new WordTextProperties{Size = "12"}),
},
TextProperties = new WordTextProperties
{
@ -44,4 +46,5 @@ namespace TransportCompanyBusinessLogic.OfficePackage
protected abstract void CreateParagraph(WordParagraph paragraph);
protected abstract void SaveWord(WordInfo info);
}
}