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