{% extends "base.html" %} {% block title %}{{ s.number }}{% endblock %} {% block content %} {% set cur = branch.currency %}
{{ t('Point of Sale') }} · {{ s.register_name }}

{{ s.number }} {{ t('Closed') if s.state == 'closed' else t('Open') }}

{{ s.cashier or '' }} · {{ (s.opened_at or '').replace('T', ' ')[:16] }}{% if s.closed_at %} → {{ s.closed_at.replace('T', ' ')[:16] }}{% endif %}
{% if s.state == 'open' %}{{ t('Back to Selling') }}{% endif %} {{ t('Orders') }} {% if s.move_id %}{{ t('Journal Entry') }}{% endif %} {% if s.picking_id %}{{ t('Stock') }}{% endif %}
{{ t('Orders') }}
{{ summ.n }}
{{ t('Refunds') }} {{ summ.refunds|money(cur) }}
{{ t('Total sales') }}
{{ summ.total|money(cur) }}
{{ t('VAT') }} {{ summ.tax|money(cur) }}
{{ t('Card') }}
{{ summ.card|money(cur) }}
{{ t('Cash sales') }}
{{ summ.cash|money(cur) }}
{{ t('Expected cash in drawer') }}
{{ summ.expected_cash|money(cur) }}
{{ t('Opening cash') }} {{ s.opening_cash|money(cur) }}
{% if s.state == 'closed' %}
{{ t('Cash difference') }}
{{ (s.counted_cash - summ.expected_cash)|money(cur) }}
{{ t('Counted') }} {{ s.counted_cash|money(cur) }}
{% endif %}
{% if s.state == 'open' and can_write %}

{{ t('Close Session') }}

{{ t('Any difference from the expected cash is posted to Cash Over / Short.') }}
{% endif %}

{{ t('Products sold') }}

{% for p in products %} {% else %}{% endfor %}
{{ t('Product') }}{{ t('Quantity') }}{{ t('Amount') }} ({{ t('excl. VAT') }})
{{ p.code or '' }} {{ nm(p) }}{{ '%g' % p.qty }}{{ p.amount|money(cur) }}
{{ t('Nothing yet.') }}
{% endblock %}