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,
|
ItemNumber: item.ItemNumber,
|
||||||
Title: item.Title,
|
Title: item.Title,
|
||||||
Quantity: item.Quantity,
|
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,
|
GrossUnitPrice: item.GrossUnitPrice,
|
||||||
GrossPrice: item.GrossPrice,
|
GrossPrice: item.GrossPrice,
|
||||||
})
|
})
|
||||||
|
|
|
||||||
|
|
@ -118,6 +118,7 @@
|
||||||
.pricing-header {
|
.pricing-header {
|
||||||
text-align: center;
|
text-align: center;
|
||||||
margin: 8mm 0 5mm 0;
|
margin: 8mm 0 5mm 0;
|
||||||
|
page-break-before: always;
|
||||||
}
|
}
|
||||||
|
|
||||||
.pricing-header h2 {
|
.pricing-header h2 {
|
||||||
|
|
@ -313,7 +314,7 @@
|
||||||
<tr>
|
<tr>
|
||||||
<td class="label">COMPANY NAME:</td>
|
<td class="label">COMPANY NAME:</td>
|
||||||
<td class="value">{{.CompanyName}}</td>
|
<td class="value">{{.CompanyName}}</td>
|
||||||
<td class="label">QUOTE NO.:</td>
|
<td class="label">QUOTE NO:</td>
|
||||||
<td class="value">{{.QuoteNumber}}</td>
|
<td class="value">{{.QuoteNumber}}</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue