From a48afb91573d9bb59c03c8323786a462f3982d22 Mon Sep 17 00:00:00 2001 From: David Taylor Date: Sun, 29 May 2016 22:56:58 +0100 Subject: [PATCH] Added internal/external indicators to invoice lists --- RIGS/templates/RIGS/event_invoice.html | 5 +++++ RIGS/templates/RIGS/invoice_list.html | 7 ++++++- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/RIGS/templates/RIGS/event_invoice.html b/RIGS/templates/RIGS/event_invoice.html index 94d84f04..79098853 100644 --- a/RIGS/templates/RIGS/event_invoice.html +++ b/RIGS/templates/RIGS/event_invoice.html @@ -57,9 +57,14 @@ {% if object.organisation %} {{ object.organisation.name }} +
+ {{ object.organisation.union_account|yesno:'Internal,External' }} {% else %} {{ object.person.name }} +
+ External {% endif %} + {{ object.sum_total|floatformat:2 }} diff --git a/RIGS/templates/RIGS/invoice_list.html b/RIGS/templates/RIGS/invoice_list.html index cb63b7f5..f7d23fcf 100644 --- a/RIGS/templates/RIGS/invoice_list.html +++ b/RIGS/templates/RIGS/invoice_list.html @@ -33,9 +33,14 @@ {% if object.organisation %} {{ object.event.organisation.name }} +
+ {{ object.organisation.union_account|yesno:'Internal,External' }} {% else %} {{ object.event.person.name }} - {% endif %} +
+ External + {% endif %} + {{ object.event.start_date }} {{ object.invoice_date }} {{ object.balance|floatformat:2 }}