{% extends "reports/base.html" %} {% load i18n %} {% block extra_head %} {{ block.super }} {% endblock %} {% block content %}

{% trans "Members YTD by type" %}

{% blocktrans with year=year %} Currently showing data for {{ year }}. {% endblocktrans %}

{% trans "New Members" %}

{% for month in months %} {% endfor %} {% for type in types_new %} {% if forloop.counter = 1 %} {% endif %} {% endfor %} {% for total in totals_new %} {% endfor %}
{% trans "Type" %}{{ month }}
{{ type.name }}{{ type.new_mems }}
{% trans "Totals" %}{{ total }}

{% trans "Renewed Members" %}

{% for month in months %} {% endfor %} {% for type in types_renew %} {% if forloop.counter = 1 %} {% endif %} {% endfor %} {% for total in totals_renew %} {% endfor %}
{% trans "Type" %}{{ month }}
{{ type.name }}{{ type.renew_mems }}
{% trans "Totals" %}{{ total }}

{% trans "Expired Members" %}

{% for month in months %} {% endfor %} {% for type in types_expired %} {% if forloop.counter = 1 %} {% endif %} {% endfor %} {% for total in totals_expired %} {% endfor %}
{% trans "Type" %}{{ month }}
{{ type.name }}{{ type.expired_mems }}
{% trans "Totals" %}{{ total }}
{% endblock content %}