Invoice bits

This commit is contained in:
Christopher Neugebauer 2017-10-02 18:48:29 -07:00
parent cce39468e5
commit f629654546
3 changed files with 41 additions and 1 deletions

View file

@ -0,0 +1,29 @@
{% extends "registrasion/dashboard_widget_.html" %}
{% comment %}
Blocks that you can override:
- heading_actions
- heading
- panel_content
- available_credit
- invoices_heading
- invoice_item_prefix
{% endcomment %}
{% block heading %}
Tickets
{% endblock %}
{% block invoices_heading %}
Statements & Receipts
{% endblock %}
{% block invoice_item_prefix %}
{% if invoice.is_paid %}
Receipt
{% else %}
Statement
{% endif %}
{% endblock %}

View file

@ -37,7 +37,7 @@
{% block contact_info %}
<p>Direct inquiries to <a href="mailto:spam@northbaypython.org">spam@northbaypython.org</a></p>
<p>North Bay Python is 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.</p>
<strong>Mailing Address</strong>
<address>

View file

@ -0,0 +1,11 @@
<p><strong>NOTICE:</strong> The below statement is automatically generated, and will be voided if you amend your registration before payment, or if discounts or products contained in the statement become unavailable. The items and discounts are only reserved until the invoice due time.</p>
{% url "invoice_access" invoice.user.attendee.access_code as access_url %}
{% url "invoice" invoice.id invoice.user.attendee.access_code as invoice_url %}
<p>You can send the following links to your accounts department to pay for your registration:</p>
<ul>
<li>{{ current_host|add:access_url|urlize }} &ndash; your most recent statement or receipt</li>
<li>{{ current_host|add:invoice_url|urlize }} &ndash; this statement, even if it becomes void.</li>
</ul>