{% extends "invoices/base-wide.html" %} {% load invoice_tags %} {% load perm_tags %} {% load base_filters %} {% load styled_forms %} {% block title %} {% trans 'Email Invoice' %}{% endblock %} {% block extra_head %} {{ block.super }} {% endblock %} {% block content %}

{% trans "Email Invoice" %}

{% 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 }} {{ invoice.get_status|title }} {% blocktrans with invoice.tender_date|date:'N j, Y h:i a' as tenddate %}{{ tenddate }}{% endblocktrans %} {{ invoice.get_status|title }}
{% trans "Invoice Amount" %} {{ invoice.total|format_currency }}
{% endwith %}
{% csrf_token %} {{ form|styled_form }}
{% endblock %} {% block extra_body %} {{ block.super }} {{ form.media }} {% endblock %}