Fixing quotes
This commit is contained in:
parent
7b018bdbcc
commit
e197dc540a
|
|
@ -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,
|
||||
})
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Reference in a new issue