ОНО ДОЛЖНО РАБОТАТЬ
This commit is contained in:
parent
5e6dd8411a
commit
02643fd431
@ -48,6 +48,7 @@ namespace VetclinicBusinessLogic.OfficePackage
|
||||
{
|
||||
ColumnName = "B",
|
||||
RowIndex = rowIndex,
|
||||
Text = medication.DatePurchase.ToString(),
|
||||
StyleInfo = ExcelStyleInfoType.TextWithBroder
|
||||
});
|
||||
|
||||
|
@ -55,7 +55,7 @@ namespace VetclinicBusinessLogic.OfficePackage
|
||||
{
|
||||
CreateRow(new PdfRowParameters
|
||||
{
|
||||
Texts = new List<string> { guidance.DrugName, "" },
|
||||
Texts = new List<string> { guidance.DateCreate.ToString(), "", guidance.DrugName, "" },
|
||||
Style = "Normal",
|
||||
ParagraphAlignment = PdfParagraphAlignmentType.Center
|
||||
});
|
||||
|
@ -37,19 +37,19 @@ namespace VetclinicBusinessLogic.OfficePackage
|
||||
}
|
||||
});
|
||||
|
||||
//foreach (var medicine in rec.Purchases)
|
||||
//{
|
||||
// CreateParagraph(new WordParagraph
|
||||
// {
|
||||
// Texts = new List<(string, WordTextProperties)>
|
||||
// { (medicine.DateCreate.ToString(), new WordTextProperties { Size = "20", Bold=false})},
|
||||
// TextProperties = new WordTextProperties
|
||||
// {
|
||||
// Size = "24",
|
||||
// JustificationType = WordJustificationType.Both
|
||||
// }
|
||||
// });
|
||||
//}
|
||||
foreach (var medicine in rec.Purchases)
|
||||
{
|
||||
CreateParagraph(new WordParagraph
|
||||
{
|
||||
Texts = new List<(string, WordTextProperties)>
|
||||
{ (medicine.DatePurchase.ToString(), new WordTextProperties { Size = "20", Bold=false})},
|
||||
TextProperties = new WordTextProperties
|
||||
{
|
||||
Size = "24",
|
||||
JustificationType = WordJustificationType.Both
|
||||
}
|
||||
});
|
||||
}
|
||||
}
|
||||
SaveWord(info);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user