Only show GST line if non-zero

This commit is contained in:
Ben Sturmfels 2023-04-20 14:58:12 +10:00
parent fc88c31d82
commit ceda6dce0a
Signed by: bsturmfels
GPG key ID: 023C05E2C9C068F0

View file

@ -46,10 +46,12 @@
<tr><th colspan="4"></th></tr> <tr><th colspan="4"></th></tr>
<tr> {% if invoice.value|gst %}
<th colspan="3">Includes 10% Australian Goods and Services Tax</th> <tr>
<td class="text-right">${{ invoice.value|gst}}</td> <th colspan="3">Includes 10% Australian Goods and Services Tax</th>
</tr> <td class="text-right">${{ invoice.value|gst}}</td>
</tr>
{% endif %}
<tr> <tr>
<th colspan="3">Total</th> <th colspan="3">Total</th>