From 3d534bcf422e9e62b2cf6243eb46ede3b36a238f Mon Sep 17 00:00:00 2001 From: Christopher Neugebauer Date: Tue, 13 Sep 2016 19:00:07 +1000 Subject: [PATCH] Invoice and credit note templates now use invoice.recipient. Fixes #3. --- pinaxcon/templates/registrasion/_invoice_details.html | 2 +- pinaxcon/templates/registrasion/credit_note.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pinaxcon/templates/registrasion/_invoice_details.html b/pinaxcon/templates/registrasion/_invoice_details.html index b20e45a..7db9746 100644 --- a/pinaxcon/templates/registrasion/_invoice_details.html +++ b/pinaxcon/templates/registrasion/_invoice_details.html @@ -10,7 +10,7 @@ {% if not invoice.is_void %}
  • Due: {{ invoice.due_time|date:"DATETIME_FORMAT"}}
  • {% endif %} -
  • Recipient: {{ invoice_user.attendee.attendeeprofilebase.invoice_recipient|linebreaksbr}}
  • +
  • Recipient: {{ invoice.recipient|linebreaksbr}}
  • {% endwith %} diff --git a/pinaxcon/templates/registrasion/credit_note.html b/pinaxcon/templates/registrasion/credit_note.html index 5b90615..c0d105d 100644 --- a/pinaxcon/templates/registrasion/credit_note.html +++ b/pinaxcon/templates/registrasion/credit_note.html @@ -8,7 +8,7 @@ {% with note_user=credit_note.invoice.user %}