diff --git a/RIGS/templates/eventauthorisation_client_request.html b/RIGS/templates/eventauthorisation_client_request.html index 824bd8f5..28ae1db6 100644 --- a/RIGS/templates/eventauthorisation_client_request.html +++ b/RIGS/templates/eventauthorisation_client_request.html @@ -5,15 +5,13 @@

Hi {{ to_name|default:"there" }},

{{ request.user.get_full_name }} has requested that you authorise {{ object.display_id }} - | {{ object.name }}{% if not to_name %} on behalf of {{ object.person.name }}{% endif %}.

+ | {{ object.name }}{% if not to_name %} on behalf of {% if object.person %}{{ object.person.name }}{% else %}{{ object.organisation.name }}{% endif %}{% endif %}.

Please find the link below to complete the event booking process. - {% if object.event.organisation and object.event.organisation.union_account %}{# internal #} - Remember that only Presidents or Treasurers are allowed to sign off payments. You may need to forward - this - email on. - {% endif %} + Remember that only Presidents or Treasurers are allowed to sign off payments. You may need to forward + this + email on.

diff --git a/RIGS/templates/eventauthorisation_client_request.txt b/RIGS/templates/eventauthorisation_client_request.txt index 7b1297b1..2d965055 100644 --- a/RIGS/templates/eventauthorisation_client_request.txt +++ b/RIGS/templates/eventauthorisation_client_request.txt @@ -1,6 +1,6 @@ Hi {{ to_name|default:"there" }}, -{{ request.user.get_full_name }} has requested that you authorise N{{ object.pk|stringformat:"05d" }}| {{ object.name }}{% if not to_name %} on behalf of {{ object.person.name }}{% endif %}. +{{ request.user.get_full_name }} has requested that you authorise N{{ object.pk|stringformat:"05d" }}| {{ object.name }}{% if not to_name %} on behalf of {% if object.person %}{{ object.person.name }}{% else %}{{ object.organisation.name }}{% endif %}{% endif %}. Please find the link below to complete the event booking process. {% if object.event.organisation and object.event.organisation.union_account %}{# internal #}