From abbb20e49e38f5ebab30c99aca2629e26a79a50c Mon Sep 17 00:00:00 2001 From: David Taylor Date: Sun, 10 Jul 2016 11:23:06 +0100 Subject: [PATCH] More invoice UI improvements, makes colour coding of invoice vs events clearer --- RIGS/templates/RIGS/event_invoice.html | 2 +- RIGS/templates/RIGS/invoice_list.html | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/RIGS/templates/RIGS/event_invoice.html b/RIGS/templates/RIGS/event_invoice.html index cd080a74..fcbe5e87 100644 --- a/RIGS/templates/RIGS/event_invoice.html +++ b/RIGS/templates/RIGS/event_invoice.html @@ -26,7 +26,7 @@ - + diff --git a/RIGS/templates/RIGS/invoice_list.html b/RIGS/templates/RIGS/invoice_list.html index 7dc6d8ee..2f34b6c9 100644 --- a/RIGS/templates/RIGS/invoice_list.html +++ b/RIGS/templates/RIGS/invoice_list.html @@ -16,7 +16,7 @@
#Event # Start Date Event Name Client
- + @@ -27,8 +27,9 @@ {% for object in object_list %} - - + +
#Invoice # Event Client Event Date
{{ object.pk }}
{{ object.pk }}
+ {% if object.void %}(VOID){% elif object.is_closed %}(PAID){% else %}(O/S){% endif %}
N{{ object.event.pk|stringformat:"05d" }}: {{ object.event.name }}
- {{ object.event.get_status_display }} - {% if not object.event.mic %}(No MIC){% endif %} + {{ object.event.get_status_display }}{% if not object.event.mic %}, No MIC{% endif %}
{% if object.event.organisation %}