{% for column, label in list_statistic %}
{% calculate_total cl.result_list column as total %}
{% if total is not None %}
{{ label }}: {{ total }}
{% endif %}
{% endfor %}
{% comment %}We're already in the GLS template, so we know we're dealing with GLS model{% endcomment %}
{% if request.GET.date__year and request.GET.date__month %}
{% with year=request.GET.date__year month=request.GET.date__month %}
{% translate 'Pricing GLS' %} ({{ month }}/{{ year }})
{% get_month_gls_queryset cl.result_list year month as month_queryset %}
{% calculate_gls_delivered_packages_price month_queryset as delivered_price %}