Files @ 99d0cf1440bd
Branch filter:

Location: CopyleftConf/copyleftconf-website/pinaxcon/templates/registrasion/invoice.html

Christopher Neugebauer
Updates templates
{% extends "site_base.html" %}
{% load bootstrap %}
{% load registrasion_tags %}
{% block body %}

{% if invoice.is_unpaid %}
  <p><strong>NOTICE:</strong> The below invoice is automatically generated, and will be voided
    if you amend your registration before payment, or if discounts or products contained in the
    invoice 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 %}
  <p>Your most recent unpaid invoice will be available at
    <a href="{{ access_url }}">{{ request.scheme }}://{{ request.get_host }}{{ access_url }}</a>
    You can give this URL to your accounts department to pay your registration.</p>

    <a class="btn btn-default" href="{% url "demopay" invoice.user.attendee.access_code %}">Pay this invoice (dummy)</a>
    <a class="btn btn-default" href='{% url "registripe_card" invoice.user.attendee.access_code %}'>Pay this invoice with Stripe</a>
    {% if user.is_staff %}
      <a class="btn btn-default" href="{% url "manual_payment" %}">Apply manual payment</a>
    {% endif %}
{% elif invoice.is_paid %}
  {% if user.is_staff %}
    {% if user.is_staff %}
    <a class="btn btn-default" href="{% url "manual_payment" %}">Apply manual payment/refund</a>
    <a class="btn btn-default" href="{% url "refund" %}">Refund by issuing credit note</a>
    {% endif %}
  {% endif %}
{% endif %}

<hr />

{% include "registrasion/_invoice_details.html" %}

{% endblock %}