{% extends "invoices/base-print.html" %} {% load invoice_tags %} {% load perm_tags %} {% load base_filters %} {% block title %}{{ block.super }}{% if obj_name %}{{ obj_name|capfirst }}{% endif %} {% trans 'Invoice' %}{% endblock %} {% block extra_head %} {{ block.super }} {% endblock %} {% block content %}
{% if SITE_GLOBAL_SITEMAILINGADDRESS %}
{{ SITE_GLOBAL_SITEMAILINGADDRESS }}
{% endif %} {% with invoice.get_object as object %}
{% if object %} {% endif %} {% if invoice.is_void %} {% elif 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" %}{{ invoice.get_status|title }}{% 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 }}
{% if MODULE_INVOICES_INVOICELOGO %} {% endif %} {% endwith %}
{% invoice_object_display request invoice %}
{% trans 'Description' %} {% trans 'Line Amount' %}
{% invoice_total_display request invoice %}
{% if invoice.is_void %}
VOIDED
{% endif %}
{% payment_history_display request invoice %}
{% endblock %}