{% extends "core/base.jinja" %} {% from 'core/macros.jinja' import user_profile_link %} {% block content %}
{% trans %}Quantity: {% endtrans %}{{ result.count() }} {% trans %}units{% endtrans %}
{% trans %}Total: {% endtrans %}{{ total }} €
{% trans %}Date{% endtrans %} | {% trans %}Counter{% endtrans %} | {% trans %}Barman{% endtrans %} | {% trans %}Customer{% endtrans %} | {% trans %}Label{% endtrans %} | {% trans %}Quantity{% endtrans %} | {% trans %}Total{% endtrans %} | {% trans %}Payment method{% endtrans %} | |||
{{ s.date|localtime|date(DATETIME_FORMAT) }} {{ s.date|localtime|time(DATETIME_FORMAT) }} | {{ s.counter }} | {% if s.seller %}{{ s.seller.get_display_name() }} | {% else %}{% endif %} {% if s.customer %} | {{ s.customer.user.get_display_name() }} | {% else %}{% endif %} | {{ s.label }} | {{ s.quantity }} | {{ s.quantity * s.unit_price }} € | {{ s.get_payment_method_display() }} | {% if s.is_owned_by(user) %}{% trans %}Delete{% endtrans %} | {% endif %}