Fixing quotes

This commit is contained in:
Finley Ghosh 2026-01-21 20:26:37 +11:00
parent 7b018bdbcc
commit e197dc540a
2 changed files with 3 additions and 2 deletions

View file

@ -136,7 +136,7 @@ func (g *HTMLDocumentGenerator) BuildQuoteHTML(data *QuotePDFData, totalPages in
ItemNumber: item.ItemNumber,
Title: item.Title,
Quantity: item.Quantity,
Description: template.HTML(""), // Quotes don't have descriptions in line items by default
Description: template.HTML(item.Description), // Allow HTML in description
GrossUnitPrice: item.GrossUnitPrice,
GrossPrice: item.GrossPrice,
})

View file

@ -118,6 +118,7 @@
.pricing-header {
text-align: center;
margin: 8mm 0 5mm 0;
page-break-before: always;
}
.pricing-header h2 {
@ -313,7 +314,7 @@
<tr>
<td class="label">COMPANY NAME:</td>
<td class="value">{{.CompanyName}}</td>
<td class="label">QUOTE NO.:</td>
<td class="label">QUOTE NO:</td>
<td class="value">{{.QuoteNumber}}</td>
</tr>
<tr>