Changeset - 9af0cce80226
[Not reviewed]
0 1 0
Brett Smith - 2 years ago 2019-12-16 17:24:08
brettcsmith@brettcsmith.org
invoice: Bugfix VAT rendering in invoice details.
1 file changed with 2 insertions and 2 deletions:
0 comments (0 inline, 0 general)
pinaxcon/templates/registrasion/invoice/details.html
Show inline comments
...
 
@@ -29,28 +29,28 @@
 
  {% if invoice.is_unpaid %}
 
    This is a registration summary for CopyleftConf 2020. It is not confirmed until paid in full.
 
  {% elif invoice.is_void %}
 
    This is a void registration summary for CopyleftConf 2020. It is provided for informational purposes only.
 
  {% elif invoice.is_refunded %}
 
    This is a refunded registration summary for CopyleftConf 2020. It is provided for informational purposes only.
 
  {% elif invoice.is_paid %}
 
    This is a confirmed registration summary for CopyleftConf 2020.
 
  {% endif %}
 
{% endblock %}
 

	
 
{% block extra_line_items_after_total %}
 
  {% vat_amount(invoice) as vat %}
 
  {% vat_amount invoice as vat %}
 
  {% if vat %}
 
    <tr>
 
      <td colspan="3">Includes {{ vat_rate }} VAT:</td>
 
      <td colspan="3">Includes {% vat_rate %} VAT:</td>
 
      <td class="text-right">${{ vat }}</td>
 
    </tr>
 
  {% endif %}
 
  {% donation_income invoice as donation %}
 
  {% if donation %}
 
    <tr>
 
      <td colspan="3">Includes donation eligible for tax deduction in the USA:</td>
 
      <td class="text-right">${{ donation }}</td>
 
    </tr>
 
  {% endif %}
 
{% endblock %}
 

	
0 comments (0 inline, 0 general)