{% 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) }}
| Date |
Type |
Party |
Amount |
{% for f in recent_finance %}
| {{ f.date.strftime('%d %b %Y') if f.date else '—' }} |
{{ f.txn_type or '—' }} |
{{ f.party_name or '—' }} |
{{ currency }} {{ "{:,.0f}".format(f.amount) }} |
{% else %}
| No finance rows yet. |
{% endfor %}
| Date |
Sale |
Profit |
{% for dp in daily_profit_rows %}
| {{ 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) }} |
{% else %}
| No daily profit rows. |
{% endfor %}
{% endblock %}