{% extends "datacenterlight/base_hosting.html" %} {% load staticfiles bootstrap3 i18n custom_tags %} {% block content %}
{% if messages %}
{% for message in messages %} {{ message }} {% endfor %}
{% endif %} {% if not error %}

{% blocktrans with page_header_text=page_header_text|default:"Invoice" %}{{page_header_text}}{% endblocktrans %}

{% trans "Date" %}: {% now "Y-m-d h:i a" %}


{% trans "Billed to" %}:

{% with request.session.billing_address_data as billing_address %} {{billing_address.cardholder_name}}
{{billing_address.street_address}}, {{billing_address.postal_code}}
{{billing_address.city}}, {{billing_address.country}} {% endwith %}


{% trans "Payment method" %}:

{{cc_brand|default:_('Credit Card')}} {% trans "ending in" %} ****{{cc_last4}}
{{request.user.email}}


{% trans "Order summary" %}

{% trans "Product" %}:  {{ request.session.template.name }}

{% trans "Cores" %}: {{vm.cpu|floatformat}}

{% trans "Memory" %}: {{vm.memory}} GB

{% trans "Disk space" %}: {{vm.disk_size}} GB

{% trans "Total" %} {{vm.price}} CHF


{% csrf_token %}
{% blocktrans with vm_price=request.session.specs.price %}By clicking "Place order" this plan will charge your credit card account with the fee of {{ vm_price }}CHF/month{% endblocktrans %}.
{% endif %}
{%endblock%}