{% extends "sidebar_table_layout.html" %}
{% block sidebar %}
{{ balance_table(show_weight=False, show_header=True) }}
{% endblock %}
{% block content %}
{{ _("Who?") }} | {{ _("Paid") }} | {{ _("Spent") }} |
{% for stat in members_stats|sort(attribute='member.name') %}
{{ stat.member.name }} |
{{ stat.paid|currency }} |
{{ stat.spent|currency }} |
{% endfor %}
{{ _("Expenses by Month") }}
{{ _("Period") }} |
{{ _("Spent") }} |
{% for tag in tags %}
#{{ tag.name }} |
{% endfor %}
{% for month in months %}
{{ month|dateformat("MMMM yyyy") }} |
{{ monthly_stats[month.year][month.month]|currency }} |
{% for tag in tags %}
{% if tag.name in tags_monthly_stats[month.year][month.month] %}
{{ tags_monthly_stats[month.year][month.month][tag.name]|currency }} |
{% else %}
- |
{% endif %}
{% endfor %}
{% endfor %}
{% endblock %}