{% extends "pos/base.html" %} {% load static %} {% block stylesheets %} {% endblock %} {% block content %}

Close Shift

Review your transactions and close the shift
Closing History
{% if messages %} {% for message in messages %}
{{ message }}
{% endfor %} {% endif %} {% if total_count == 0 %}
All Caught Up!

No unclosed transactions found.

View Closing History
{% elif too_many %}
Too Many Unclosed Transactions

{{ total_count }} unclosed transactions found (limit for full view: 300).

Total Amount: {{ grand_total|floatformat:0 }}

{% csrf_token %}
{% else %}
Unclosed Transactions {{ total_count }}
{% for bp in unclosed_list %} {% endfor %}
Date Time Type Invoice # Bank Amount
{{ bp.transaction_date|date:"d M Y" }} {{ bp.transaction_time|default:"—" }} {{ bp.type_label_display }} {{ bp.transaction_id }} {{ bp.bank_name_display }} {{ bp.amount_transaction|floatformat:0 }}
Current Shift Total
{{ grand_total|floatformat:0 }}
{{ total_count }} transaction(s)
Bank-wise Summary
{% for row in bank_summary %}
{{ row.bank_name }} {{ row.net|floatformat:0 }}
Opening: {{ row.opening|floatformat:0 }}  →  Closing: {{ row.closing|floatformat:0 }}
{% empty %}
No bank data
{% endfor %}
Category-wise
{% for row in category_summary %}
{{ row.label }} ({{ row.count }}) {{ row.total|floatformat:0 }}
{% endfor %}
{% csrf_token %}
{% endif %}
{% endblock %} {% block javascripts %} {% endblock %}