{% extends "django_pettycash/dpc_base.html" %}
{% load url from future %}
{% load i18n %}
{% load dpc_useful_tags %}
{% block head_resources %}
{% endblock head_resources %}
{% block content %}
{% trans "Inbound/Outbound Statistics by Tag" %}
{% if object_list %}
{% blocktrans with min_date=min_date|force_format max_date=max_date|force_format %}
Filtered entries from {{min_date}} to {{max_date}}
{% endblocktrans %}
{% for k, v in data.iteritems %}
{{v.source_name}}
{% endfor %}
{% for k, v in data.iteritems %}
{% trans "Inbound" %} ({{v.inbound_count}})
{% trans "Outbound" %} ({{v.outbound_count}})
{% trans "Total" %} ({{v.count}})
{% endfor %}
{% for k, v in data.iteritems %}
{{v.inbound_total}} €
{{v.outbound_total}} €
{{v.total}} €
{% endfor %}
{% trans "Total inbound" %} ({{inbound_count}})
{{inbound_total}} €
{% trans "Total outbound" %} ({{outbound_count}})
{{outbound_total}} €
{% trans "Total" %} ({{count}})
{{total}} €
{% endif %}
{% endblock content %}