@@ -143,48 +143,55 @@
{% endfor %}
</ul>
{% invoices as invoices %}
{% if invoices %}
<h5>Invoices</h5>
<ul>
{% for invoice in invoices %}
{% if not invoice.is_void %}
<li>
<a href="{% url "invoice" invoice.id %}">Invoice {{ invoice.id }}</a>
- ${{ invoice.value }} ({{ invoice.get_status_display }})
</li>
{% endif %}
{% available_credit as credit %}
{% if credit %}
<p>You have ${{ credit }} leftover from refunded invoices. Contact the conference organisers
to put this toward other purchases, or to refund it.</p>
{% if user.is_staff %}
<h4>Registration reports</h4>
<p><a href="{% url "reports_list" %}">View available reports</a>.
</p>
</div>
<div class="panel panel-default">
<div class="panel-heading">
<div class="pull-right header-actions">
{% if not user.sponsorships.exists %}
<a href="{% url "sponsor_apply" %}" class="btn btn-xs btn-default">
<i class="fa fa-plus-sign"></i>
Apply to be a sponsor
</a>
<h3 class="panel-title">
<i class="fa fa-briefcase"></i>
{% trans "Sponsorship" %}
</h3>
<div class="panel-body">
<p>If you or your organization would be interested in sponsorship opportunities, <a href="{% url "sponsor_apply" %}">use our online form to apply to be a sponsor</a>.
{% else %}
<h4>Your Sponsorship</h4>