Adds invoice template changes.

This commit is contained in:
Christopher Neugebauer 2017-10-05 13:07:43 -07:00
parent 3053a9bfb2
commit 6bfd62c6f6

View file

@ -1,4 +1,7 @@
{% extends "registrasion/invoice/details_.html" %}
{% load nbpy_tags %}
{% comment %}
Blocks that you can override:
@ -32,12 +35,21 @@
{% elif invoice.is_paid %}
This is a confirmed registration summary for North Bay Python 2017.
{% endif %}
{% endblock %}
{% block extra_line_items_after_total %}
{% 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 %}
{% block contact_info %}
<p>Direct inquiries to <a href="mailto:spam@northbaypython.org">spam@northbaypython.org</a></p>
<p>North Bay Python is run by North Bay and Bay Area locals, as a member project of <a href="https://sfconservancy.org">Software Freedom Conservancy</a>, a 501(c)(3) public charity registered in New York.</p>
<p>North Bay Python is run by North Bay and Bay Area locals, as a member project of <a href="https://sfconservancy.org">Software Freedom Conservancy</a>, a 501(c)(3) public charity registered in New York. Software Freedom Conservancy's federal tax-exempt EIN is 41-2203632.</p>
<strong>Mailing Address</strong>
<address>