| 
									
										
										
										
											2016-03-30 15:13:50 +11:00
										 |  |  | {% 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> | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |   <div> | 
					
						
							|  |  |  |     <a class="btn btn-default" href="{% url "demopay" invoice.id invoice.user.attendee.access_code %}">Pay this invoice</a> | 
					
						
							|  |  |  |     {% if user.is_staff %} | 
					
						
							|  |  |  |       <a class="btn btn-default" href="{% url "manual_payment" invoice.id %}">Apply manual payment</a> | 
					
						
							|  |  |  |     {% endif %} | 
					
						
							|  |  |  |   </div> | 
					
						
							|  |  |  | {% elif invoice.is_paid %} | 
					
						
							|  |  |  |   {% if user.is_staff %} | 
					
						
							|  |  |  |   <div> | 
					
						
							|  |  |  |     {% if user.is_staff %} | 
					
						
							| 
									
										
										
										
											2016-04-25 19:40:35 +10:00
										 |  |  |     <a class="btn btn-default" href="{% url "manual_payment" invoice.id %}">Apply manual payment/refund</a> | 
					
						
							|  |  |  |     <a class="btn btn-default" href="{% url "refund" invoice.id %}">Refund by issuing credit note</a> | 
					
						
							| 
									
										
										
										
											2016-03-30 15:13:50 +11:00
										 |  |  |     {% endif %} | 
					
						
							|  |  |  |   </div> | 
					
						
							|  |  |  |   {% endif %} | 
					
						
							|  |  |  | {% endif %} | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | <hr /> | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2016-08-21 17:40:31 +10:00
										 |  |  | {% include "registrasion/_invoice_details.html" %} | 
					
						
							| 
									
										
										
										
											2016-03-30 15:13:50 +11:00
										 |  |  | 
 | 
					
						
							|  |  |  | {% endblock %} |