{% 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
| Year | Events | Revenue | P&L |
{% for key, b in by_year %}
| {{ key }} | {{ b.events }} | {{ b.rev|floatformat:0 }} |
{% if b.pl < 0 %}{{ b.pl|floatformat:0 }}{% else %}{{ b.pl|floatformat:0 }}{% endif %} |
{% endfor %}
Net by Brand
| Brand | Events | P&L |
{% for key, b in by_brand %}
| {{ key }} | {{ b.events }} |
{% if b.pl < 0 %}{{ b.pl|floatformat:0 }}{% else %}{{ b.pl|floatformat:0 }}{% endif %} |
{% endfor %}
Net by City
| City | Events | P&L |
{% for key, b in by_city %}
| {{ key }} | {{ b.events }} |
{% if b.pl < 0 %}{{ b.pl|floatformat:0 }}{% else %}{{ b.pl|floatformat:0 }}{% endif %} |
{% endfor %}
Best Five
{% for r in best %}
| {{ r.obj.name }}
{{ r.obj.city }} |
{{ r.pl|floatformat:0 }} |
{% endfor %}
Worst Five
{% for r in worst %}
| {{ r.obj.name }}
{{ r.obj.city }} |
{{ r.pl|floatformat:0 }} |
{% endfor %}
{% endblock %}