{% extends "pos/base.html" %} {% load static %} {% block title %}Daily Closing Report{% endblock %} {% block content %}

Daily Closing – {{ start_date }}{% if end_date != start_date %} to {{ end_date }}{% endif %}

{# Filters #}
{# Bills Summary #}
Cash Bills
{% for r in cash_bill_list %} {% empty %} {% endfor %}
InvoiceBilledReceived
{{ r.invoice }} {{ r.billed|floatformat:2 }} {{ r.received|floatformat:2 }}
No cash bills
Total {{ cash_bills_totals.total_billed|floatformat:2 }} {{ cash_bills_totals.total_received|floatformat:2 }}
Credit Bills
{% for r in credit_bill_list %} {% empty %} {% endfor %}
InvoiceBilledReceivedPending
{{ r.invoice }} {{ r.billed|floatformat:2 }} {{ r.received|floatformat:2 }} {{ r.pending|floatformat:2 }}
No credit bills
Total {{ credit_bills_totals.total_billed|floatformat:2 }} {{ credit_bills_totals.total_received|floatformat:2 }} {{ credit_bills_totals.total_pending|floatformat:2 }}
{# Other Cash Movements #}
Other Cash Movements
{% for label, value in other_cash_movements %}
{{ label }}
{{ value|floatformat:2 }}
{% endfor %}
{# Bank Balances #}
Bank Balances
{% for row in closing_rows %} {% endfor %}
BankOpeningNetClosing
{{ row.bank.name }} {{ row.opening|floatformat:2 }} {{ row.net_today|floatformat:2 }} {{ row.closing|floatformat:2 }}
{# Stock Summary #}
Stock Summary
{% for s in stock_entries %} {% empty %} {% endfor %}
ProductOpeningPurchased SoldManufactured ProcessedClosing
{{ s.product }} {{ s.opening|floatformat:2 }} {{ s.purchased|floatformat:2 }} {{ s.sold|floatformat:2 }} {{ s.manufactured|floatformat:2 }} {{ s.used_in_manuf|floatformat:2 }} {{ s.closing|floatformat:2 }}
No stock movements
{# Movement Details #}
Movement Details
{% for label, items in move_details.items %} {% if items %}
{{ label }}
{% for it in items %} {% endfor %}
InvoicePartyAmount
{{ it.invoice }} {{ it.party }} {{ it.amount|floatformat:2 }}
{% endif %} {% endfor %}
{% endblock %}