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

{% for message in messages %} {{ message }} {% endfor %}
{% endif %} {% if not error %}

{% trans "Confirm Order"%}


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

{% trans "Billed To:"%}

{% with request.session.billing_address_data as billing_address %} {{billing_address|get_value_from_dict:'cardholder_name'}}
{{billing_address|get_value_from_dict:'street_address'}}, {{billing_address|get_value_from_dict:'postal_code'}}
{{billing_address|get_value_from_dict:'city'}}, {{billing_address|get_value_from_dict:'country'}}. {% endwith %}
{% trans "Payment Method:"%}
{{cc_brand}} {% trans "ending" %} **** {{cc_last4}}
{{request.session.user.email}}

{% trans "Order summary"%}


{% with request.session.specs as vm %}

{% trans "Cores"%} {{vm.cpu}}


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


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


{% trans "Configuration"%} {{request.session.template.name}}


{% trans "Total"%}

{{vm.price}} CHF

{% endwith %}

{% csrf_token %}
{% endif %}
{%endblock%}