invoice: Bugfix VAT rendering in invoice details.

This commit is contained in:
Brett Smith 2019-12-16 12:24:08 -05:00
parent f00214d81d
commit 9af0cce802

View file

@ -38,10 +38,10 @@
{% endblock %} {% endblock %}
{% block extra_line_items_after_total %} {% block extra_line_items_after_total %}
{% vat_amount(invoice) as vat %} {% vat_amount invoice as vat %}
{% if vat %} {% if vat %}
<tr> <tr>
<td colspan="3">Includes {{ vat_rate }} VAT:</td> <td colspan="3">Includes {% vat_rate %} VAT:</td>
<td class="text-right">${{ vat }}</td> <td class="text-right">${{ vat }}</td>
</tr> </tr>
{% endif %} {% endif %}