{% extends "core/base.jinja" %} {% block title %} {% trans %}Basket state{% endtrans %} {% endblock %} {% block jquery_css %} {# Remove jquery css #} {% endblock %} {% block additional_js %} {% endblock %} {% block content %}
{% trans %}Basket: {% endtrans %}
Article | Quantity | Unit price |
{{ item.product_name }} | {{ item.quantity }} | {{ item.product_unit_price }} € |
{% trans %}Basket amount: {% endtrans %}{{ "%0.2f"|format(basket.total) }} €
{% if customer_amount != None %}
{% trans %}Current account amount: {% endtrans %}
{{ "%0.2f"|format(customer_amount) }} €
{% if not basket.contains_refilling_item %}
{% trans %}Remaining account amount: {% endtrans %}
{{ "%0.2f"|format(customer_amount|float - basket.total) }} €
{% endif %}
{% endif %}
{% trans %}AE account payment disabled because your basket contains refilling items.{% endtrans %}
{% elif basket.total > user.account_balance %}{% trans %}AE account payment disabled because you do not have enough money remaining.{% endtrans %}
{% else %} {% endif %}