{% extends "advantage/base_advantage.html" %} {% block title %}Your Canonical invoices{% endblock %} {% block meta_description %}Your Canonical invoices for services you have signed up for.{% endblock %} {% block head_extra %} {% endblock %} {% block content %}

Invoices

{% if invoices %} {% for invoice in invoices %} {% endfor %}
Service Date Status Total Download PDF
{% if invoice.marketplace == "canonical-ua"%} Ubuntu Pro {% elif invoice.marketplace == "blender" %} Blender Support {% elif invoice.marketplace == "canonical-cube" %} Canonical CUBE {% endif %}{% if invoice.period %} ({{ invoice.period }}){% endif %} {{ invoice.get_formatted_date() }} {% if invoice.invoice %} {% if invoice.invoice.status == "paid" %}
Paid
{% elif invoice.invoice.status == "open" %}
Pending
{% else %}
Failed
{% endif %} {% elif invoice.status == "done" %}
Not available
{% else %}
Pending
{% endif %}
{% if invoice.invoice %} {{ invoice.get_total() }} {% else %} - {% endif %} {% if invoice.invoice %} Download {% else %} No invoice available {% endif %}
{% with %} {% set total_pages = total_pages %} {% set current_page = current_page %} {% include "shared/_pagination.html" %} {% endwith %}
{% else %}

No invoices available.

{% endif %}
{% endblock content %}