{% extends "corporate_memberships/base-wide.html" %} {% load bootstrap_pagination_tags %} {% load base_filters %} {% block extra_head %} {{ block.super }} {% endblock %} {% block content %}
{% trans "Corporation" %} | {% trans "Amount Donated" %} ({{ SITE_GLOBAL_CURRENCYSYMBOL }}) | {% trans "Invoice" %} | {% trans "Date" %} | {% trans "Status" %} | ||
---|---|---|---|---|---|---|
{{ cm.corp_profile.name }} | {{ cm.donation_amount }} | {% if cm.donation and cm.donation.invoice %} {{ cm.donation.invoice.id }} {% elif cm.invoice %} {{ cm.invoice.id }} {% endif %} | {{ cm.create_dt|date:"F j, Y" }} | {% if cm.donation and cm.donation.invoice %}{% if cm.donation.invoice.balance == 0 %} {% if cm.donation.invoice.is_void %} {% comment %}Translators: Void adjective {% endcomment %} {% trans 'Void' %} {% else %} {% trans 'Paid' %} {% endif %} {% else %} Balance: {{ cm.donation.invoice.balance|format_currency }} {% endif %} | {% elif cm.invoice %}{% if cm.invoice.balance == 0 %} {% if cm.invoice.is_void %} {% comment %}Translators: Void adjective {% endcomment %} {% trans 'Void' %} {% else %} {% trans 'Paid' %} {% endif %} {% else %} {% trans 'Not Paid' %} {% endif %} | {% else %}{% endif %} |