{% extends "hosting/base_short.html" %} {% load staticfiles bootstrap3 humanize i18n custom_tags %} {% block content %}

{% trans "My Bills" %}

{% if messages %}
{% for message in messages %} {{ message }} {% endfor %}
{% endif %}
{% for invoice in invoices %} {% with period|get_value_from_dict:invoice.invoice_number as period_to_show %} {% endwith %} {% endfor %}
{% trans "VM ID" %} {% trans "IP Address" %} {% trans "Period" %} {% trans "Amount" %}
{{ invoice.order.vm_id }} {{ ips|get_value_from_dict:invoice.invoice_number|join:"
" }}
{{ period_to_show.period_start | date:'Y-m-d' }} — {{ period_to_show.period_end | date:'Y-m-d' }}{{ invoice.total_in_chf|floatformat:2|intcomma }} {% trans 'See Invoice' %}
{% if is_paginated %} {% endif %}
{% endblock %}