{% extends 'base.html' %} {% block title %}Event {% if object.is_rig %}N{{ object.pk|stringformat:"05d" }}{% else %}{{ object.pk }} {% endif %}{% endblock %} {% block content %}

Event {% if object.is_rig %}N{{ object.pk|stringformat:"05d" }}{% else %}{{ object.pk }}{% endif %}

{% if event.is_rig %} {% endif %} {% if event.is_rig %} {% if perms.RIGS.add_invoice %} {% endif %} {% endif %}
{% if object.is_rig %} {# only need contact details for a rig #}
Contact Details
Person
{% if object.person %} {{ object.person }} {% endif %}
Email
{{ object.person.email }}
Phone Number
{{ object.person.phone }}
{% if event.organisation %}
Organisation
Organisation
{% if object.organisation %} {{ object.organisation }} {% endif %}
Phone Number
{{ object.organisation.phone }}
Has SU Account
{{ event.organisation.union_account|yesno|capfirst }}
{% endif %}
{% endif %}
{{ object.name }}
Event Venue
{% if object.venue %} {{ object.venue }} {% endif %}
{% if event.is_rig %}
Event MIC
{{ event.mic.name }}
{% endif %}
Status
{{ event.get_status_display }}
 
{% if event.is_rig %}
Crew Meet
{{ event.meet_at|date:"d M Y H:i"|default:"" }}
{{ event.meet_info|default:"" }}
Access From
{{ event.access_at|date:"d M Y H:i"|default:"" }}
{% endif %}
Event Starts
{{ event.start_date|date:"d M Y" }} {{ event.start_time|date:"H:i" }}
Event Ends
{{ event.end_date|date:"d M Y" }} {{ event.end_time|date:"H:i" }}
 
Event Description
{{ event.description|linebreaksbr }}
 
Based On
{% if object.based_on %} {% if object.based_on.is_rig %}N{{ object.based_on.pk|stringformat:"05d" }}{% else %} {{ object.based_on.pk }}{% endif %} {{ object.base_on.name }} by {{ object.based_on.mic.name }} {% endif %}
{% if event.dry_hire %}
Checked In By
{{ object.checked_in_by.name }}
{% endif %} {% if event.is_rig %}
Collected By
{{ object.collector }}
{% endif %}
{% if event.is_rig %} {% endif %} {% if event.is_rig %} {% if perms.RIGS.add_invoice %} {% endif %} {% endif %}
{% if event.is_rig %}
Event Details

Notes

{{ event.notes|linebreaksbr }}
{% include 'RIGS/item_table.html' %}
{% if perms.RIGS.add_invoice %} {% endif %}
Last edited at {{ object.last_edited_at|date:"SHORT_DATETIME_FORMAT" }} by {{ object.last_edited_by.name }}.
{% endif %} {% endblock %}