{% load invoice_tags %} {% load perm_tags %} {% load base_filters %} {% if obj_name %}{{ obj_name|capfirst}} {% endif %} {% trans "Invoice" %}
{{ SITE_GLOBAL_SITEDISPLAYNAME }}
{% if SITE_GLOBAL_SITEMAILINGADDRESS %}
{{ SITE_GLOBAL_SITEMAILINGADDRESS }}
{% endif %}
{% if MODULE_INVOICES_INVOICELOGO %} {% endif %}

{% with invoice.get_object as object %}
{% if object %} {% endif %} {% if invoice.is_tendered %} {% else %} {% endif %}
{% trans "Invoice #" %} {{ invoice.id }}
{% trans "Invoice For" %} {% if object.event.pk %} {{ object }}
{% trans 'Event Date' %}: {{ object.event.start_dt }} {% else %} {{ SITE_GLOBAL_SITEDISPLAYNAME }}
{% if invoice.bill_to_first_name %} {{ invoice.bill_to_first_name }} {% endif %} {% if invoice.bill_to_last_name %}{{ invoice.bill_to_last_name }}
{% endif %} {% if invoice.bill_to_address %} {{ invoice.bill_to_address }}
{% endif %} {% if invoice.bill_to_city %}{{ invoice.bill_to_city}},{% endif %} {% if invoice.bill_to_state %}{{ invoice.bill_to_state }}{% endif %} {% if invoice.bill_to_zip_code %}{{ invoice.bill_to_zip_code }}{% endif %} {% endif %}
{% trans "Invoice Date" %} {{ invoice.create_dt|date:'N j, Y h:i a' }}
{% trans "Invoice Status" %}{% blocktrans with invoice.tender_date|date:'N j, Y h:i a' as tenddate %}Tendered {{ tenddate }}{% endblocktrans %}{% trans "Estimate" %}
{% trans "Invoice Amount" %} {{ invoice.total|format_currency }}
{% endwith %}

 

{% invoice_object_display request invoice %}
{% trans 'Description' %} {% trans 'Line Amount' %}
{% if payment_method %} {% endif%} {% if invoice.variance and invoice.variance != 0 %} {% if invoice.total != tmp_total %} {% endif%} {% endif%} {% if invoice.discount_amount > 0 %} {% endif %} {% if invoice.tax %} {% endif %}
{% trans "Method:" %}    {{ payment_method }}
{% trans "Adjustment:" %}    {{ invoice.variance|format_currency }}
{% trans "Sub Total:" %}    {{ invoice.subtotal|add_decimal:invoice.discount_amount|format_currency }}
{% trans "Discount Applied (discount code" %}    -{{ invoice.discount_amount|format_currency }}
{% trans "Tax:" %}    {{ invoice.tax|format_currency }}
{% trans "Total:" %}    {{ invoice.total|format_currency }}
{% trans "Payments/Credits:" %}    {{ invoice.payments_credits|format_currency }}
{% trans "Balance due:" %}    {{ invoice.balance|format_currency }}