Skip to content

Commit b5ebf74

Browse files
committed
fix(invoce): do not show VAT summary on proformas
It is confusing there because it will be different for the final invoice.
1 parent 9d51152 commit b5ebf74

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

weblate_web/invoices/templates/invoice-template.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ <h2>Issued by</h2>
9696
{% endif %}
9797
</tbody>
9898
<tfoot>
99-
{% if invoice.vat_rate %}
99+
{% if invoice.vat_rate and invoice.is_final %}
100100
<tr>
101101
<td>Exchange rate for VAT</td>
102102
<td></td>
@@ -223,7 +223,7 @@ <h2>Issued by</h2>
223223

224224
{% endif %}
225225
{% endif %}
226-
{% if not invoice.is_draft %}This is a computer-generated invoice; signature not required.{% endif %}
226+
{% if invoice.is_final %}This is a computer-generated invoice; signature not required.{% endif %}
227227
</p>
228228
<table id="details">
229229
<tbody>

0 commit comments

Comments
 (0)