Files @ 34509d23eb9f
Branch filter:

Location: symposion_app/pinaxcon/templates/registrasion/invoice.html

bsturmfels
Make vendored symposion into an installable Python package

This allows us to install with `pip install "-e vendor/symposion"` similar to
the other vendored packages. There's no good reason for this to be different to
the others and depend on PYTHONPATH hacking.

Re-add
{% extends "registrasion/base.html" %}
{% load registrasion_tags %}
{% load lca2018_tags %}
{% load static %}

{% block head_title %}Invoice/Statement #{{ invoice.id }}{% endblock %}
{% block page_title %}{% conference_name %}{% endblock %}

{% block proposals_body %}
{% include "registrasion/_invoice_details.html" %}
<div class="d-print-none mb-4 pb-4">
  {% if invoice.is_unpaid %}
  <p>
    <strong>NOTICE:</strong> The above invoice is automatically generated, and
    will be voided if you amend your selections before payment, or if discounts
    or products contained in the invoice become unavailable. The products and
    discounts are only reserved until the invoice due time, please pay before then
    to guarantee your selection. Late payments are accepted only if the products
    and discounts are still available.</p>

  {% url "invoice_access" invoice.user.attendee.access_code as access_url %}
  <p>Your most recent unpaid invoice will be available at
    <a href="{{ access_url }}">{{ request.scheme }}://{{ request.get_host }}{{ access_url }}</a>
    You can print that page for your records, or give this URL to your accounts department to pay for this invoice
  </p>

  <a class="btn btn-primary" href='{% url "registripe_card" invoice.id invoice.user.attendee.access_code %}'>Pay this invoice by card</a>

  {% if user.is_staff %}
  <a class="btn btn-secondary" href="{% url "manual_payment" invoice.id %}">Apply manual payment</a>
  {% endif %}

  {% elif invoice.is_paid %}
  {% if user.is_staff %}
  <a class="btn btn-primary" href="{% url "manual_payment" invoice.id %}">Apply manual payment/refund</a>
  <a class="btn btn-secondary" href="{% url "refund" invoice.id %}">Refund by issuing credit note</a>
  {% endif %}
  {% endif %}

  {% if user.is_staff %}
  <a class="btn btn-info" href="{% url "attendee" invoice.user.id %}">View attendee</a>
  <a class="btn btn-light" href="{% url "invoice_update" invoice.id %}">Refresh recipient</a>
  {% endif %}
</div>

{% endblock %}