Changeset - 3d534bcf422e
[Not reviewed]
0 2 0
Christopher Neugebauer - 8 years ago 2016-09-13 09:00:07
chrisjrn@gmail.com
Invoice and credit note templates now use invoice.recipient.

Fixes #3.
2 files changed with 2 insertions and 2 deletions:
0 comments (0 inline, 0 general)
pinaxcon/templates/registrasion/_invoice_details.html
Show inline comments
...
 
@@ -7,13 +7,13 @@
 
    <li><strong>Invoice number:</strong> {{ invoice.id }}
 
    <li><strong>Invoice status:</strong> {{ invoice.get_status_display }}</li>
 
    <li><strong>Issue date:</strong> {{ invoice.issue_time|date:"DATE_FORMAT" }}
 
    {% if not invoice.is_void %}
 
      <li><strong>Due:</strong> {{ invoice.due_time|date:"DATETIME_FORMAT"}}</li>
 
    {% endif %}
 
    <li><strong>Recipient:</strong> {{ invoice_user.attendee.attendeeprofilebase.invoice_recipient|linebreaksbr}}</li>
 
    <li><strong>Recipient:</strong> {{ invoice.recipient|linebreaksbr}}</li>
 
  </ul>
 
{% endwith %}
 

	
 
<p>This invoice has been issued as a result of an application to attend (conference name).</p>
 

	
 

	
pinaxcon/templates/registrasion/credit_note.html
Show inline comments
...
 
@@ -5,13 +5,13 @@
 

	
 
<h2>Credit Note</h2>
 

	
 
{% with note_user=credit_note.invoice.user %}
 
  <ul>
 
    <li><strong>Number:</strong> {{ credit_note.id }}
 
    <li><strong>Attention:</strong> {{ credit_note.invoice.user.attendee.attendeeprofilebase.invoice_recipient }}</li>
 
    <li><strong>Attention:</strong> {{ credit_note.invoice.recipient }}</li>
 
    <li><strong>Value:</strong> {{ credit_note.value }}</li>
 
    <li><strong>Status:</strong> {{ credit_note.status }}</li>
 
  </ul>
 
{% endwith %}
 

	
 
<p>This credit note was generated from funds excess from invoice {{ credit_note.invoice.id }}.</p>
0 comments (0 inline, 0 general)