Don't show full POs in event status

This commit is contained in:
Joe Banks
2025-03-16 22:05:54 +00:00
parent 6e1ac4e203
commit dcf19ff773

View File

@@ -3,7 +3,7 @@
{% if event.is_rig %} {% if event.is_rig %}
{% if event.sum_total > 0 %} {% if event.sum_total > 0 %}
{% if event.purchase_order %} {% if event.purchase_order %}
<span class="badge badge-success">PO: {{ event.purchase_order }}</span> <span class="badge badge-success">PO: Received</span>
{% elif event.authorised %} {% elif event.authorised %}
<span class="badge badge-success">Authorisation: Complete <span class="fas fa-check"></span></span> <span class="badge badge-success">Authorisation: Complete <span class="fas fa-check"></span></span>
{% elif event.authorisation and event.authorisation.amount != event.total and event.authorisation.last_edited_at > event.auth_request_at %} {% elif event.authorisation and event.authorisation.amount != event.total and event.authorisation.last_edited_at > event.auth_request_at %}