{{aggregate_current_event.0.event_name}}
| {% trans "Period" %} |
{% trans "# tickets" %} |
{% if aggregate_previous_event.0.event_name %}
Diff with {{aggregate_previous_event.0.event_name}} |
{% endif %}
{% with start_month=aggregate_current_event.0.month_name|slice:":3" %}
{% for r in aggregate_current_event|slice:"1:" %}
| {{ start_month }}-{{ r.month_name|slice:":3" }} |
{{r.cumulative_count}} |
{% if aggregate_previous_event.0.event_name %}
{{r.diff}} |
{% endif %}
{% endfor %}
{% endwith %}
{% if aggregate_previous_event.0.event_name %}
{{aggregate_previous_event.0.event_name}}
| {% trans "Period" %} |
{% trans "# tickets" %} |
{% with start_month=aggregate_previous_event.0.month_name|slice:":3" %}
{% for r in aggregate_previous_event|slice:"1:" %}
| {{ start_month }}-{{ r.month_name|slice:":3" }} |
{{r.cumulative_count}} |
{% endfor %}
{% endwith %}
{% endif %}