{% 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 inv_data in invs %} {{ inv_data | get_line_item_from_stripe_invoice }} {% endfor %}
{% trans "VM ID" %} {% trans "IP Address" %}/{% trans "Product" %} {% trans "Period" %} {% trans "Amount" %}
{% if invs.has_other_pages %} {% endif %}
{% for ho, stripe_charge_data in invs_charge %} {{ ho.id | get_line_item_from_hosting_order_charge }} {% endfor %}
{% trans "Product" %} {% trans "Date" %} {% trans "Amount" %}
{{ho.generic_product.product_name.capitalize()}} {{ho.created_at.strftime('%Y-%m-%d')}} {{ho.price}} {% trans "See Invoice" %}
{% if invs_charge.has_other_pages %} {% endif %}
{% endblock %}