{% extends 'web/admin/base.html' %} {% block admin_title %}Cash & finance{% endblock %} {% block admin_subtitle %}Finance entries, daily profit, and today’s expenses{% endblock %} {% block admin_content %}
Expenses today (logged)

{{ currency }} {{ "{:,.0f}".format(today_expenses) }}

Cash sales today

{{ currency }} {{ "{:,.0f}".format(cash_sales) }}

Card / bank today

{{ currency }} {{ "{:,.0f}".format(bank_sales) }}

Finance entries (cash book)
Latest synced payments
{% for f in recent_finance %} {% else %} {% endfor %}
Date Type Party Amount
{{ f.date.strftime('%d %b %Y') if f.date else '—' }} {{ f.txn_type or '—' }} {{ f.party_name or '—' }} {{ currency }} {{ "{:,.0f}".format(f.amount) }}
No finance rows yet.
Daily profit (manual)
Recent entries from POS
{% for dp in daily_profit_rows %} {% else %} {% endfor %}
Date Sale Profit
{{ dp.date.strftime('%d %b %Y') if dp.date else '—' }} {{ currency }} {{ "{:,.0f}".format(dp.sale_amount or 0) }} {{ currency }} {{ "{:,.0f}".format(dp.profit or 0) }}
No daily profit rows.
{% endblock %}