{% extends 'base_rigs.html' %} {% load paginator from filters %} {% load static %} {% block title %}Invoices{% endblock %} {% block content %}

{% block heading %}Invoices{% endblock %}

{% block description %}{% endblock %} {% block search %}{% endblock %}
{% for invoice in invoice_list %} {% endfor %}
Invoice # Event Client Event Date Invoice Date Balance
{{ invoice.pk }}
{% if invoice.void %}(VOID){% elif invoice.is_closed %}(PAID){% else %}(O/S){% endif %}
N{{ invoice.event.pk|stringformat:"05d" }}: {{ invoice.event.name }}
{{ invoice.event.get_status_display }}{% if not invoice.event.mic %}, No MIC{% endif %}
{% if invoice.event.organisation %} {{ invoice.event.organisation.name }}
{{ invoice.event.internal|yesno:'Internal,External' }} {% elif invoice.event.person %} {{ invoice.event.person.name }}
Individual {% endif %}
{{ invoice.event.start_date }} {{ invoice.invoice_date }} {{ invoice.balance|floatformat:2 }} {% if not invoice.event.internal %}
{{ invoice.event.purchase_order }} {% endif %}
{% if is_paginated %}
{% paginator %}
{% endif %}
{% endblock %}