{% load base_filters %} {% load i18n %} {% if obj %} {% trans "Membership #" %} {{ obj.pk }} {{ obj.membership_type.name|truncatewords:30 }} ({{ obj.payment_method.human_name }}) {% if invoice.bill_to_first_name or invoice.bill_to_last_name or invoice.bill_to_email %}  – {{ invoice.bill_to_first_name }} {{ invoice.bill_to_last_name }} {{ invoice.bill_to_email }} {% endif %} {% else %} {% trans "Membership information not available" %} {% endif%} {{ invoice.total|format_currency }}