Skip to content

Open-source eCommerce platform for C# and ASP.NET Core 10 with MongoDB. Build multi-store shops and multi-vendor marketplaces with B2B/B2C, REST API, plugins, Vue 3 and Docker.

PDF - fix, do not use small html tag

support18ec5d140149
diff --git a/src/Web/Grand.Web/Views/PdfTemplates/OrderPdfTemplate.cshtml b/src/Web/Grand.Web/Views/PdfTemplates/OrderPdfTemplate.cshtml
index 8fd278421..1eeadcd9c 100644
--- a/src/Web/Grand.Web/Views/PdfTemplates/OrderPdfTemplate.cshtml
+++ b/src/Web/Grand.Web/Views/PdfTemplates/OrderPdfTemplate.cshtml
@@ -194,7 +194,7 @@
@if (!string.IsNullOrEmpty(item.AttributeDescription))
{
<br/>
- <small>@(Html.Raw(item.AttributeDescription))</small>
+ @(Html.Raw(item.AttributeDescription))
}
</td>
<td>
@@ -224,7 +224,10 @@
@if (!limitbyVendor)
{
<div class="summary">
-
+ @if (!string.IsNullOrEmpty(order.CheckoutAttributeDescription))
+ {
+ @(Html.Raw(order.CheckoutAttributeDescription))
+ }
<div style="float: right">
@(_translationService.GetResource("PDFInvoice.Sub-Total", order.CustomerLanguageId))