{% extends "cms/admin_home.html" %} {% load sekizai_tags i18n danceschool_tags %} {% block content %}

{% trans "Send Invoice Notifications: Confirmation" %}

{% if toNotify %} {% if cannotNotify %}

{% trans "Notification List" %}

{% endif %}

{% trans "Recipients associated with the following invoices will be notified" %}:

{% csrf_token %} {% for invoice in toNotify %} {% get_field_for_object 'invoice' invoice.id form as field %} {% endfor %}
{% trans "Selected" %} {% trans "Invoice Number" %} {% trans "Recipient" %} {% trans "Invoice Status" %} {% trans "Outstanding balance" %} {% trans "Links" %}
{{ field }} {{ invoice.id }} {{ invoice.get_default_recipients|join:", " }} {{ invoice.get_status_display }} {{ currencySymbol }}{{ invoice.outstandingBalance|floatformat:"-2" }}
{% trans "Return To Invoices" %}
{% endif %} {% if cannotNotify %}

{% trans "Unable to Notify" %}

{% blocktrans %} The following invoices have no recipient associated with them, so no notification emails will be sent. To send notifications for these invoices, please click to edit the invoices and specify a recipient email address. {% endblocktrans %}

{% for invoice in cannotNotify %} {% endfor %}
{% trans "Invoice Number" %} {% trans "Invoice Status" %} {% trans "Outstanding balance" %} {% trans "Links" %}
{{ invoice.id }} {{ invoice.get_status_display }} {{ currencySymbol }}{{ invoice.outstandingBalance|floatformat:"-2" }}
{% endif %} {% endblock %}