diff --git a/RIGS/templates/partials/event_status.html b/RIGS/templates/partials/event_status.html index 364015ae..08c97c25 100644 --- a/RIGS/templates/partials/event_status.html +++ b/RIGS/templates/partials/event_status.html @@ -2,17 +2,23 @@ Status: {{ event.get_status_display }} {% if event.is_rig %} {% if event.sum_total > 0 %} - {% if event.purchase_order %} - PO: Received - {% elif event.authorised %} - Authorisation: Complete - {% elif event.authorisation and event.authorisation.amount != event.total and event.authorisation.last_edited_at > event.auth_request_at %} - Authorisation: Issue - {% elif event.auth_request_to %} - Authorisation: Sent - {% else %} - Authorisation: - {% endif %} + {% if event.organisation.union_account %} + {% if event.authorised %} + Authorisation: Complete + {% elif event.authorisation and event.authorisation.amount != event.total and event.authorisation.last_edited_at > event.auth_request_at %} + Authorisation: Issue + {% elif event.auth_request_to %} + Authorisation: Sent + {% else %} + Authorisation: + {% endif %} + {% else %} + {% if event.purchase_order %} + PO: Received + {% else %} + PO: + {%endif %} + {%endif %} {% endif %} {% if not event.dry_hire %} {% if event.riskassessment %}