{% extends "cms/base.html" %} {% block title %}Analysis{% endblock %} {% block page_title %}Analysis{% endblock %} {% block extra_head %} {% endblock %} {% block cms_content %}

Profit and Loss by Year

{% for key, b in by_year %} {% endfor %}
YearEventsRevenueP&L
{{ key }}{{ b.events }}{{ b.rev|floatformat:0 }} {% if b.pl < 0 %}{{ b.pl|floatformat:0 }}{% else %}{{ b.pl|floatformat:0 }}{% endif %}

Net by Brand

{% for key, b in by_brand %} {% endfor %}
BrandEventsP&L
{{ key }}{{ b.events }} {% if b.pl < 0 %}{{ b.pl|floatformat:0 }}{% else %}{{ b.pl|floatformat:0 }}{% endif %}

Net by City

{% for key, b in by_city %} {% endfor %}
CityEventsP&L
{{ key }}{{ b.events }} {% if b.pl < 0 %}{{ b.pl|floatformat:0 }}{% else %}{{ b.pl|floatformat:0 }}{% endif %}

Best Five

{% for r in best %} {% endfor %}
{{ r.obj.name }}
{{ r.obj.city }}
{{ r.pl|floatformat:0 }}

Worst Five

{% for r in worst %} {% endfor %}
{{ r.obj.name }}
{{ r.obj.city }}
{{ r.pl|floatformat:0 }}
{% endblock %}