{% extends "core/base.jinja" %} {% from "core/macros.jinja" import user_mini_profile, user_subscription %} {% block title %} {{ counter }} {% endblock %} {% block additional_css %} {% endblock %} {% block additional_js %} {% endblock %} {% block info_boxes %} {% endblock %} {% block nav %} {% endblock %} {% block content %}

{{ counter }}

{% trans %}Customer{% endtrans %}
{{ user_mini_profile(customer.user) }} {{ user_subscription(customer.user) }}

{% trans %}Amount: {% endtrans %}

{% trans %}Selling{% endtrans %}
{% set counter_click_url = url('counter:click', counter_id=counter.id, user_id=customer.user_id) %}
{% for category in categories.keys() %} {% for product in categories[category] %} {% endfor %} {% endfor %}
{% for error in form.non_form_errors() %}
{{ error }}
{% endfor %}

{% trans %}Basket: {% endtrans %}

{% csrf_token %}
{{ form.management_form }}
  • {% trans %}This basket is empty{% endtrans %}

Total:

{% if object.type == "BAR" %}
{% trans %}Refilling{% endtrans %}
{% if refilling_fragment %}
{{ refilling_fragment }}
{% else %}

{% trans trimmed %} As a barman, you are not able to refill any account on your own. An admin should be connected on this counter for that. The customer can refill by using the eboutic. {% endtrans %}

{% endif %} {% if student_card_fragment %}
{% trans %}Student card{% endtrans %}
{{ student_card_fragment }}
{% endif %} {% endif %}
{% if not products %}
{% trans %}No products available on this counter for this user{% endtrans %}
{% else %} {% for category in categories.keys() -%}
{{ category }}
{% for product in categories[category] -%} {%- endfor %}
{%- endfor %} {% endif %}
{% endblock content %} {% block script %} {{ super() }} {% endblock script %}