mirror of
https://github.com/nottinghamtec/PyRIGS.git
synced 2026-01-23 16:32:15 +00:00
More invoice UI improvements, makes colour coding of invoice vs events clearer
This commit is contained in:
@@ -26,7 +26,7 @@
|
|||||||
<table class="table table-hover">
|
<table class="table table-hover">
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<th>#</th>
|
<th>Event #</th>
|
||||||
<th>Start Date</th>
|
<th>Start Date</th>
|
||||||
<th>Event Name</th>
|
<th>Event Name</th>
|
||||||
<th>Client</th>
|
<th>Client</th>
|
||||||
|
|||||||
@@ -16,7 +16,7 @@
|
|||||||
<table class="table table-hover">
|
<table class="table table-hover">
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<th>#</th>
|
<th>Invoice #</th>
|
||||||
<th>Event</th>
|
<th>Event</th>
|
||||||
<th>Client</th>
|
<th>Client</th>
|
||||||
<th>Event Date</th>
|
<th>Event Date</th>
|
||||||
@@ -27,8 +27,9 @@
|
|||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
{% for object in object_list %}
|
{% for object in object_list %}
|
||||||
<tr class="{% if object.void %}danger{% elif object.balance == 0 %}success{% endif %}">
|
<tr>
|
||||||
<td>{{ object.pk }}</td>
|
<td class="{% if object.is_closed %}success{% else %}warning{% endif %}">{{ object.pk }}<br>
|
||||||
|
<span class="text-muted">{% if object.void %}(VOID){% elif object.is_closed %}(PAID){% else %}(O/S){% endif %}</span></td>
|
||||||
<td class="
|
<td class="
|
||||||
{% if object.event.cancelled %}
|
{% if object.event.cancelled %}
|
||||||
active text-muted
|
active text-muted
|
||||||
@@ -43,8 +44,7 @@
|
|||||||
danger
|
danger
|
||||||
{% endif %}
|
{% endif %}
|
||||||
"><a href="{% url 'event_detail' object.event.pk %}">N{{ object.event.pk|stringformat:"05d" }}</a>: {{ object.event.name }} <br>
|
"><a href="{% url 'event_detail' object.event.pk %}">N{{ object.event.pk|stringformat:"05d" }}</a>: {{ object.event.name }} <br>
|
||||||
<span class="text-muted">{{ object.event.get_status_display }}
|
<span class="text-muted">{{ object.event.get_status_display }}{% if not object.event.mic %}, No MIC{% endif %}
|
||||||
{% if not object.event.mic %}(No MIC){% endif %}
|
|
||||||
</span></td>
|
</span></td>
|
||||||
</td>
|
</td>
|
||||||
<td>{% if object.event.organisation %}
|
<td>{% if object.event.organisation %}
|
||||||
|
|||||||
Reference in New Issue
Block a user