смол фикс
This commit is contained in:
parent
3f1d56bcfc
commit
6a6aabdf86
@ -64,7 +64,7 @@ namespace BusinessLogic.OfficePackage
|
|||||||
}
|
}
|
||||||
CreateParagraph(new PdfParagraph
|
CreateParagraph(new PdfParagraph
|
||||||
{
|
{
|
||||||
Text = $"Итого: {info.Supply.Price}",
|
Text = $"Итого: {info.Supply.Price.ToString("0.00")} руб.",
|
||||||
Style = "Normal",
|
Style = "Normal",
|
||||||
ParagraphAlignment = PdfParagraphAlignmentType.Right
|
ParagraphAlignment = PdfParagraphAlignmentType.Right
|
||||||
});
|
});
|
||||||
|
@ -41,7 +41,7 @@ namespace BusinessLogic.OfficePackage
|
|||||||
CreateImage($"product{info.Product.Id}.png");
|
CreateImage($"product{info.Product.Id}.png");
|
||||||
CreateParagraph(new PdfParagraph
|
CreateParagraph(new PdfParagraph
|
||||||
{
|
{
|
||||||
Text = $"Цена: {info.Product.Price}",
|
Text = $"Цена: {info.Product.Price.ToString("0.00")} руб.",
|
||||||
Style = "Normal",
|
Style = "Normal",
|
||||||
ParagraphAlignment = PdfParagraphAlignmentType.Right
|
ParagraphAlignment = PdfParagraphAlignmentType.Right
|
||||||
});
|
});
|
||||||
|
@ -103,7 +103,6 @@ namespace BusinessLogic.OfficePackage.Implements
|
|||||||
{
|
{
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
_document.LastSection.AddImage(path);
|
_document.LastSection.AddImage(path);
|
||||||
}
|
}
|
||||||
protected override void SavePdf(PdfInfo info)
|
protected override void SavePdf(PdfInfo info)
|
||||||
|
Loading…
Reference in New Issue
Block a user