{% load i18n l10n fontawesome_5 %}
{{obj.payments.count}} {% trans 'Payments' %}
{% if is_default_member and is_entry_shared %} {% endif %}
{% if is_default_member and is_entry_shared %} {% endif %} {% for pay in obj.payments.all %} {% endfor %}
{% trans 'Amount' context 'money' %} {% trans 'Due on' %} {% trans 'Comment' %} {% trans 'Action' %}
{% if is_entry_shared %} {{ pay.amount|floatformat:2 }} € {% else %} *** {% endif %} {{ pay.due_on|default_if_none:"---" }}
{% if is_entry_shared %} {{ pay.comment }} {% else %} {% trans 'This data is not shared with you' %} {% endif %}
{% if is_default_member and is_entry_shared %} {% endif %}