46 lines
		
	
	
	
		
			2 KiB
		
	
	
	
		
			HTML
		
	
	
	
	
	
			
		
		
	
	
			46 lines
		
	
	
	
		
			2 KiB
		
	
	
	
		
			HTML
		
	
	
	
	
	
{% 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 %}
 |