{% load i18n %} {% comment %} One open season-dues card. Expects ``row`` ({membership, balance, invoice}) in scope -- included from both home.html's dues card and payments.html so the two surfaces render identically (see club.services.fees.open_dues_rows, their shared data source). {% endcomment %}
{% blocktrans with name=row.membership.member.first_name %}Season dues — {{ name }}{% endblocktrans %}
{% if row.invoice %} {% blocktrans with amount=row.balance|floatformat:2 due=row.invoice.due_date|date:"d M" %}€ {{ amount }} · due {{ due }}{% endblocktrans %} {% else %} {% blocktrans with amount=row.balance|floatformat:2 %}€ {{ amount }}{% endblocktrans %} {% endif %}
{% trans "Pay" %}