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