Fix club account name display for clubs

This commit is contained in:
Antoine Bartuccio 2016-10-16 00:23:13 +02:00
parent c9005e2c31
commit 132bae72a7

View File

@ -22,7 +22,7 @@
<h4>{% trans %}Accouting: {% endtrans %}</h4> <h4>{% trans %}Accouting: {% endtrans %}</h4>
<ul> <ul>
{% for ca in object.club_account.all() %} {% for ca in object.club_account.all() %}
<li><a href="{{ url('accounting:club_details', c_account_id=ca.id) }}">{{ ca }}</a></li> <li><a href="{{ url('accounting:club_details', c_account_id=ca.id) }}">{{ ca.get_display_name() }}</a></li>
{% endfor %} {% endfor %}
</ul> </ul>
{% endif %} {% endif %}