diff --git a/RIGS/templates/partials/event_detail_buttons.html b/RIGS/templates/partials/event_detail_buttons.html index f8f30c65..4c571f12 100644 --- a/RIGS/templates/partials/event_detail_buttons.html +++ b/RIGS/templates/partials/event_detail_buttons.html @@ -48,6 +48,6 @@ Invoice {% endif %} - Subhire Insurance Form + Subhire Insurance Form {% endif %} diff --git a/RIGS/templates/partials/event_status.html b/RIGS/templates/partials/event_status.html index 60f8efa1..bc0e9579 100644 --- a/RIGS/templates/partials/event_status.html +++ b/RIGS/templates/partials/event_status.html @@ -6,6 +6,10 @@ PO: {{ event.purchase_order }} {% 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 %} diff --git a/RIGS/templates/partials/event_table.html b/RIGS/templates/partials/event_table.html index a027e688..e6bd7c8d 100644 --- a/RIGS/templates/partials/event_table.html +++ b/RIGS/templates/partials/event_table.html @@ -67,9 +67,9 @@ {% if event.is_rig and not event.cancelled %}