{% extends "donations/base.html" %} {% load donation_tags %} {% load base_filters %} {% block title %}{% trans 'View a Donation' %}{% endblock %} {% block extra_head %} {{ block.super }} {% endblock %} {% block content %}

View a {{ MODULE_DONATIONS_LABEL }}

{% trans 'Amount' %}:
{{ donation.donation_amount }}
{% with donation.invoice as invoice %} {% if invoice %}
{% if invoice.tax %}
{% if MODULE_INVOICES_TAXLABEL %}{{ MODULE_INVOICES_TAXLABEL }}{% else %}{% trans "Tax" %}{% endif %}{% if invoice.tax_rate %} {{ invoice.tax_rate|percentage }}{% endif %}:
{{ invoice.tax|format_currency }}
{% endif %} {% if invoice.tax_2 %}
{{ invoice.tax_label_2 }}{% if invoice.tax_rate_2 %} {{ invoice.tax_rate_2|percentage }}{% endif %}:
{{ invoice.tax_2|format_currency }}
{% endif %} {% if invoice.tax or invoice.tax_2 %}
{% trans 'Total' %}:
{{ invoice.total|format_currency }}
{% endif %} {% endif %} {% endwith %}
{% if donation.donate_to_entity %}
{% trans 'Contribute to' %}:
{{donation.donate_to_entity }}
{% endif %} {% if donation.allocation %}
{% trans 'Allocated to' %}:
{{donation.allocation }}
{% endif %}
{% trans 'Invoice ID' %}:
{% if donation.invoice %}
{{ donation.invoice.id }}
{% else %}
n/a
{% endif %}
{% if donation.user %}
{% trans 'User' %}:
{{donation.user.username }}
{% endif %}
{% trans 'Name' %}:
{{ donation.first_name }} {{ donation.last_name }}
{% trans 'Company' %}:
{{ donation.company }}
{% trans 'Address' %}:
{{ donation.address }} {{ donation.address2 }} {{ donation.city }} {{ donation.state }} {{ donation.zip_code }} {{ donation.country }}
{% trans 'Phone' %}:
{{ donation.phone }}
{% trans 'Email' %}:
{{ donation.email|obfuscate_email }}

{% trans 'Referred By' %}:
{{ donation.referral_source }}
{% trans 'Comments' %}:
{{ donation.comments|safe }}

{% trans 'Create Date' %}:
{{ donation.create_dt|date:"long" }}
{% endblock %}