mirror of
https://github.com/nottinghamtec/PyRIGS.git
synced 2026-01-29 11:22:15 +00:00
Added internal/external indicators to invoice lists
This commit is contained in:
@@ -57,9 +57,14 @@
|
|||||||
<td>
|
<td>
|
||||||
{% if object.organisation %}
|
{% if object.organisation %}
|
||||||
{{ object.organisation.name }}
|
{{ object.organisation.name }}
|
||||||
|
<br>
|
||||||
|
<span class="text-muted">{{ object.organisation.union_account|yesno:'Internal,External' }}</span>
|
||||||
{% else %}
|
{% else %}
|
||||||
{{ object.person.name }}
|
{{ object.person.name }}
|
||||||
|
<br>
|
||||||
|
<span class="text-muted">External</span>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
</td>
|
</td>
|
||||||
<td>{{ object.sum_total|floatformat:2 }}</td>
|
<td>{{ object.sum_total|floatformat:2 }}</td>
|
||||||
<td class="text-center">
|
<td class="text-center">
|
||||||
|
|||||||
@@ -33,9 +33,14 @@
|
|||||||
</td>
|
</td>
|
||||||
<td>{% if object.organisation %}
|
<td>{% if object.organisation %}
|
||||||
{{ object.event.organisation.name }}
|
{{ object.event.organisation.name }}
|
||||||
|
<br>
|
||||||
|
<span class="text-muted">{{ object.organisation.union_account|yesno:'Internal,External' }}</span>
|
||||||
{% else %}
|
{% else %}
|
||||||
{{ object.event.person.name }}
|
{{ object.event.person.name }}
|
||||||
{% endif %}</td>
|
<br>
|
||||||
|
<span class="text-muted">External</span>
|
||||||
|
{% endif %}
|
||||||
|
</td>
|
||||||
<td>{{ object.event.start_date }}</td>
|
<td>{{ object.event.start_date }}</td>
|
||||||
<td>{{ object.invoice_date }}</td>
|
<td>{{ object.invoice_date }}</td>
|
||||||
<td>{{ object.balance|floatformat:2 }}</td>
|
<td>{{ object.balance|floatformat:2 }}</td>
|
||||||
|
|||||||
Reference in New Issue
Block a user