{% extends "core/base.jinja" %} {% from 'core/macros.jinja' import user_profile_link, paginate %} {% block title %} {% trans %}Cash register summary list{% endtrans %} {% endblock %} {% block content %} {% if cashsummary_list %}

{% trans %}Cash register summary list{% endtrans %}

{% trans %}Theoric sums{% endtrans %}
{% csrf_token %} {{ form }}

{% trans %}Refillings{% endtrans %}

{% for b,s in refilling_sums.items() %} {{ b }}: {{ s }} €
{% endfor %}

{% trans %}Cash register summaries{% endtrans %}

{% for b,s in summaries_sums.items() %} {{ b }}: {{ s }} €
{% endfor %}

{% for c in cashsummary_list %} {% if c.emptied %} {% else %} {% endif %} {% endfor %}
{% trans %}User{% endtrans %} {% trans %}Counter{% endtrans %} {% trans %}Date{% endtrans %} {% trans %}Total{% endtrans %} {% trans %}Emptied{% endtrans %} {% trans %}Comment{% endtrans %}
{{ user_profile_link(c.user) }} {{ c.counter }} {{ c.date|localtime|date(DATETIME_FORMAT) }} - {{ c.date|localtime|time(DATETIME_FORMAT) }} {{ c.get_total() }} €{% trans %}yes{% endtrans %}{{ c.comment }} {% trans %}Edit{% endtrans %}

{% if is_paginated %} {{ paginate(page_obj, paginator) }} {% endif %} {% else %} {% trans %}There is no cash register summary in this website.{% endtrans %} {% endif %} {% endblock %}