{% extends "core/base.jinja" %} {% from 'core/macros.jinja' import user_profile_link %} {% block title %} {% trans counter_name=counter %}{{ counter_name }} stats{% endtrans %} {% endblock %} {% block content %}
{% trans %}Nb{% endtrans %} | {% trans %}User{% endtrans %} | {% trans %}Promo{% endtrans %} | {% trans %}Clubs{% endtrans %} | {% trans %}Total{% endtrans %} | {% trans %}Percentage{% endtrans %} |
{{ loop.index }} | {{ customer.user.get_display_name() }} | {{ customer.user.promo or '' }} | {% for m in customer.user.memberships.filter(club__parent=None, end_date=None, role__gt=settings.SITH_MAXIMUM_FREE_ROLE).all() -%} {%- if loop.index>1 -%}, {% endif -%} {{ m.club.name }} {%- endfor %} | {{ r.selling_sum }} € | {{ '%.2f'|format(100 * r.selling_sum / total_sellings) }} |