{% extends "allianceauth/base.html" %} {% load i18n %} {% load humanize %} {% load invoices %} {% block page_title %} {% invoice_app_name %} {% endblock %} {% block content %}

{% translate "Outstanding" %}

{% if outstanding_isk > 0 %}

Ƶ {{ outstanding_isk|intcomma }}


{% blocktrans trimmed %} All Payments are to be made to {{ recipt_corp }}
All payments made to other places will not be receipted! {% endblocktrans %}

{% blocktrans trimmed %} All Payments MUST include the Reference in the Reason Field
Contact an Admin for assistance, if you made an error {% endblocktrans %}

{% else %}

{% translate "No Payment Required" %}


{% blocktrans trimmed %} All Payments are to be made to {{ recipt_corp }}
All payments made to other places will not be receipted! {% endblocktrans %}

{% blocktrans trimmed %} All Payments MUST include the Reference in the Reason Field
Contact an Admin for assistance, if you made an error. {% endblocktrans %}

{% endif %}

{% translate "Key" %}

{% translate "Paid" %}
{% translate "Outstanding" %}
{% translate "Overdue" %}

{% translate "Your Contributions" %}

{% for inv in invoices %} {% endfor %} {% for inv in complete_invoices %} {% endfor %}
{% translate "Character" %} {% translate "Corporation" %} {% translate "Amount" %} {% translate "Reference" %} {% translate "Due Date" %} {% translate "Note" %} {% translate "Paid" %}
{{ inv.character }}
{{ inv.character.character_ownership.user.profile.main_character.character_name }}
{{ inv.character.character_ownership.user.profile.main_character.corporation_name }} {{ inv.amount|intcomma }} {{ inv.invoice_ref }} {{ inv.due_date|date:"Y-m-d h:i" }} {{ inv.note }} {% translate "No" %}
{{ inv.character }}
{{ inv.character.character_ownership.user.profile.main_character.character_name }}
{{ inv.character.character_ownership.user.profile.main_character.corporation_name }} {{ inv.amount|intcomma }} {{ inv.invoice_ref }} {{ inv.due_date|date:"Y-m-d h:i" }} {% translate "Paid:" %} {{ inv.payment.date|date:"Y-m-d h:i" }} {% translate "Yes" %}
{% if admin_invoices|length > 0 %}

{% translate "Outstanding Contributions" %}

{% if admin_invoices %}
{% for inv in admin_invoices %} {% endfor %}
{% endif %}
{% endif %}
{% endblock content %} {% block extra_css %} {% include "bundles/datatables-css.html" %} {% endblock extra_css %} {% block extra_javascript %} {% include "bundles/datatables-js.html" %} {% endblock extra_javascript %} {% block extra_script %} $(document).ready(function() { $('#outstanding-table').DataTable({ "filterDropDown": { columns: [ { idx: 7 } ] }, "lengthMenu": [ [25, 50, -1], [25, 50, "All"] ], "order": [ [5, "asc"] ], "columnDefs": [{ "visible": false, "targets": [7] }, { "sortable": false, "targets": 0 }] }); $('#paid-table').DataTable({ "filterDropDown": { columns: [{ idx: 2 },{ idx: 3 },{ idx: 9 }] }, "lengthMenu": [ [25, 50, -1], [25, 50, "All"] ], "order": [ [6, "asc"] ], "columnDefs": [{ "visible": false, "targets": [8,9] }, { "sortable": false, "targets": 0 }] }); }); {% endblock extra_script %}