{% extends "oneevent/base.html" %} {% block navbar_header_text %}Manage Event{% endblock %} {% block heading_action %}Manage{% endblock %} {% block heading_title %}{{ event.title }} {{ event.start|date:"D, d N Y H:i" }} {% endblock %} {% block content %}
Edit the event
{% if event.choices.exists %}
Choices summary Download list
{% for choice, options in event.get_options_counts.iteritems %} {% for option, total in options.items %} {% endfor %} {% endfor %}
Choice Options
{{ choice.title }} {{ option.title }} {{ total }}
{% endif %} {% if event.sessions.exists %}
Sessions summary
{% for session in event.sessions.all %} {% endfor %}
Session Participants
{{ session.title }} {{ session.get_active_bookings.count }}
{% endif %}
{% if event.sessions.exists %}{% endif %} {% if event.choices.exists %}{% endif %} {% for choice in event.choices.all %} {% endfor %} {% for booking in event.bookings.all %} {% if event.sessions.exists %} {% endif %} {% for option in booking.options.all %} {% endfor %} {% endfor %}
Name Category Actions Booking StatusSessionChoices
{{ choice.title }}

{{ booking.person.get_full_name }}

{% if booking.person.email %}

{% endif %}
{{ booking.get_category_name }} {% if booking.cancelledBy and booking.paidTo%} {% endif %} {% if not booking.cancelledBy and not booking.paidTo and booking.must_pay > 0 %} {% endif %} {% if not booking.cancelledBy and booking.exempt_of_payment %} {% endif %}
Edit {% if not booking.cancelledBy %} Cancel {% endif %}
{% if booking.cancelledBy %}
Cancelled by {{booking.cancelledBy.get_full_name}} on {{booking.cancelledOn|date:"d N Y H:i"}}
{% endif %}
{% if booking.exempt_of_payment %} Exempted of payment {% elif booking.paidTo %} Payment received {% elif booking.must_pay > 0 %} No payment received {% else %} No payment needed {% endif %}
{% if booking.exempt_of_payment or booking.paidTo %} by {{ booking.paidTo.get_full_name }} on {{ booking.datePaid|date:"d N Y H:i" }} {% endif %}
{% if booking.session %} {{ booking.session.title }} {% else %} {% endif %} {{ option.option.title }}
{% if event.categories.exists %}
Collected money
{% with collected_sums=event.get_collected_money_sums %} {% for category in collected_sums.categories %} {% endfor %} {% for row in collected_sums.table_rows %} {% if forloop.last %} {% else %} {% endif %} {% for cell in row %} {% if forloop.first %} {% else %} {% endif %} {% endfor %} {% endfor %} {% endwith %}
Organiser{{ category }}Total
{{ cell }} {{ cell|default_if_none:-1|floatformat:2 }} {% if event.price_currency %}({{event.price_currency}}){% endif %}
{% endif %}
{% endblock %}