{% load static i18n %} {% load bootstrap5 %}
{% with request.session.billing_address_data as billing_address %}
{{billing_address.full_name}}
{{billing_address.street}}, {{billing_address.postal_code}}
{{billing_address.city}}, {{billing_address.country}}
{% if billing_address.vat_number %}
{% trans "VAT Number" %} {{billing_address.vat_number}}
{% if pricing.vat_country != "ch" and pricing.vat_validation_status != "not_needed" %}
{% if pricing.vat_validation_status == "verified" %}
{% else %}
{% endif %}
{% endif %}
{% endif %}
{% endwith %}
{{card.brand|default:_('Credit Card')}} {% trans "ending in" %} ****{{card.last4}}
{% trans "Expiry" %} {{card.exp_year}}/{{card.exp_month}}
{{request.user.email}}
{% trans "Product" %}: Matrix Chat Hosting
{% trans "Cores" %}: {{order.cores}}
{% trans "Memory" %}: {{order.memory}} GB
{% trans "Disk space" %}: {{order.storage}} GB
{% trans "Price Before VAT" %} {{pricing.subtotal|floatformat:2}} CHF
{% trans "Pre VAT" %}
{% trans "With VAT for" %} {{pricing.vat_country}} ({{pricing.vat_percent}}%)
Subtotal
{{pricing.subtotal|floatformat:2}} CHF
{{pricing.price_with_vat|floatformat:2}} CHF
{{pricing.discount.name}}
-{{pricing.discount.amount|floatformat:2}} CHF
-{{pricing.discount.amount_with_vat|floatformat:2}} CHF
Total
{{pricing.subtotal_after_discount|floatformat:2}} CHF
{{pricing.price_after_discount_with_vat|floatformat:2}} CHF