Add terms and conditions to invoice’s view
This commit is contained in:
parent
ba6f51ac5d
commit
9fab65f108
|
@ -55,11 +55,16 @@
|
|||
text-align: right;
|
||||
}
|
||||
|
||||
.invoice .notes, .invoice .payment-instructions {
|
||||
.invoice .notes, .invoice .payment-instructions, .invoice .terms_and_conditions {
|
||||
white-space: pre-line;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
.invoice .terms_and_conditions {
|
||||
text-transform: uppercase;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.invoice .notes + .payment-instructions {
|
||||
margin-top: 5rem;
|
||||
}
|
||||
|
|
|
@ -54,6 +54,10 @@
|
|||
{{ .Quotee.City }} ({{ .Quotee.PostalCode}}), {{ .Quotee.Province }}<br>
|
||||
</address>
|
||||
|
||||
{{ if .TermsAndConditions -}}
|
||||
<p class="terms_and_conditions">{{(gettext "Terms and Conditions:")}} {{ .TermsAndConditions }}</p>
|
||||
{{- end }}
|
||||
|
||||
{{- $columns := 5 | add (len .TaxClasses) | add (boolToInt .HasDiscounts) -}}
|
||||
<table>
|
||||
<thead>
|
||||
|
|
Loading…
Reference in New Issue