Hirer
{{ object.person.name }}
{{ object.organisation.name|default_if_none:"" }}
{% if invoice %}
{% if object.organisation.address %}
{{ object.organisation.address|default_if_none:""|linebreaksxml }}
{% elif object.person.address %}
{{ object.person.address|default_if_none:""|linebreaksxml }}
{% endif %}
{% endif %}
{% if object.person.phone %}
{{ object.person.phone }}
{% elif object.organisation.phone %}
{{ object.organisation.phone }}
{% endif %}
{% if invoice %}
{% if object.organisation.email %}
{{ object.organisation.email }}
{% elif object.person.email %}
{{ object.person.email }}
{% endif %}
{% else %}
{% if object.person.email %}
{{ object.person.email }}
{% elif object.organisation.email %}
{{ object.organisation.email }}
{% endif %}
{% endif %}
|
Venue
{{ object.venue.name }}
{% if not invoice %}
{{ object.venue.address|default_if_none:""|linebreaksxml }}
{% endif %}
|
Timings
Start |
{{ object.start_time|time:"H:i" }}
{{ object.start_date|date:"d/m/Y" }}
|
End |
{{ object.end_time|default_if_none:""|time:"H:i" }}
{{ object.end_date|date:"d/m/Y" }}
|
{% if object.access_at and not invoice%}
Access |
{{ object.access_at|time:"H:i" }}
{{ object.access_at|date:"d/m/Y" }}
|
{% endif %}
|