diff --git a/datacenterlight/views.py b/datacenterlight/views.py index abd17964..3c9be6db 100644 --- a/datacenterlight/views.py +++ b/datacenterlight/views.py @@ -29,7 +29,7 @@ from utils.forms import ( ) from utils.hosting_utils import ( get_vm_price_with_vat, get_all_public_keys, get_vat_rate_for_country, - get_vm_price_for_given_vat, round_up + get_vm_price_for_given_vat ) from utils.stripe_utils import StripeUtils from utils.tasks import send_plain_email_task diff --git a/hosting/templates/hosting/invoices.html b/hosting/templates/hosting/invoices.html index 1a97fd1f..9cf59e36 100644 --- a/hosting/templates/hosting/invoices.html +++ b/hosting/templates/hosting/invoices.html @@ -2,70 +2,84 @@ {% 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 %} -