Total Sales {{ period_label }}
KSh {{ total_sales_today|floatformat:0 }}
Gross Profit {{ period_label }}
KSh {{ gross_profit_today|floatformat:0 }}
(Sales - Cost of Goods)
Total Expenses {{ period_label }}
KSh {{ total_expenses|floatformat:0 }}
Business: KSh {{ business_expenses|floatformat:0 }} | Personal: KSh {{ personal_expenses|floatformat:0 }}
NET PROFIT {{ period_label }}
KSh {{ net_profit|floatformat:0 }}
{{ profit_status_text }}
📦 Stock Valuation Overview
{% for location_name, data in stock_valuation_by_location.items %}
{{ location_name }}
KSh {{ data.total_value|floatformat:0 }}
{{ data.total_units }} Units in Stock
✅ Paid
KSh {{ data.paid_purchases|floatformat:0 }}
💳 Credit
KSh {{ data.credit_purchases|floatformat:0 }}
{% endfor %}
Total Profit (All Time)
KSh {{ total_profit_overall|floatformat:0 }}
🚐
Matatu Business
Showing {{ period_label }} — {{ period_range }}
Income {{ period_label }}
KSh {{ matatu_income|floatformat:0 }}
Expenses {{ period_label }}
KSh {{ matatu_expense|floatformat:0 }}
Net {{ period_label }}
KSh {{ matatu_net|floatformat:0 }}
{% if matatu_net >= 0 %}✅ Profitable{% else %}🔴 Running at loss{% endif %}
All-time Income
KSh {{ matatu_income_alltime|floatformat:0 }}
All-time Expenses
KSh {{ matatu_expense_alltime|floatformat:0 }}
All-time Net
KSh {{ matatu_net_alltime|floatformat:0 }}
{% if profit_status == 'loss' %}
⚠️ ALERT: Operating at a Loss
Your expenses exceed your gross profit by KSh {{ net_profit|floatformat:0 }} this period.
💡 Consider reviewing your expenses in the Expenses tab to identify areas for cost reduction.
{% endif %}
Total Expenses {{ period_label }}
KSh {{ total_expenses|floatformat:0 }}
Business Expenses
KSh {{ business_expenses|floatformat:0 }}
Personal Expenses
KSh {{ personal_expenses|floatformat:0 }}
💼 Business Expenses Breakdown
{% if business_expense_breakdown %}
| Category |
Amount |
{% for item in business_expense_breakdown %}
| {{ item.category__name }} |
-KSh {{ item.total_amount|floatformat:2 }}
|
{% endfor %}
| TOTAL BUSINESS |
KSh {{ business_expenses|floatformat:2 }}
|
{% else %}
💼
No business expenses for this period
{% endif %}
👤 Personal Expenses Breakdown
{% if personal_expense_breakdown %}
| Category |
Amount |
{% for item in personal_expense_breakdown %}
| {{ item.category__name }} |
-KSh {{ item.total_amount|floatformat:2 }}
|
{% endfor %}
| TOTAL PERSONAL |
KSh {{ personal_expenses|floatformat:2 }}
|
{% else %}
👤
No personal expenses for this period
{% endif %}
🚐
Matatu Business — {{ period_label }}
Income
KSh {{ matatu_income|floatformat:0 }}
Expenses
KSh {{ matatu_expense|floatformat:0 }}
Net
KSh {{ matatu_net|floatformat:0 }}
{% if matatu_expense_breakdown %}
🚐 Matatu Expense Breakdown — {{ period_label }}
| Category |
Amount |
% of Total |
{% for row in matatu_expense_breakdown %}
| {{ row.category_label }} |
KSh {{ row.total|floatformat:2 }}
|
{% if matatu_expense > 0 %}
{% widthratio row.total matatu_expense 100 %}%
{% else %}
—
{% endif %}
|
{% endfor %}
| TOTAL |
KSh {{ matatu_expense|floatformat:2 }}
|
|
{% else %}
🚐
No matatu expenses for this period
{% endif %}
TOTAL CASH ON HAND
KSh {{ grand_total_cash|floatformat:0 }}
Across all locations and payment methods
{% if cash_by_location %}
{% for location_name, data in cash_by_location.items %}
Total Balance
KSh {{ data.total|floatformat:0 }}
{% for method in data.methods %}
{{ method.icon }}
{{ method.method }}
KSh {{ method.amount|floatformat:0 }}
{% endfor %}
{% endfor %}
{% else %}
💰
No cash balance data available
{% endif %}
{% if profit_per_product %}
| # |
Product Name |
Total Profit |
{% for item in profit_per_product %}
| {{ forloop.counter }} |
{{ item.product__name }} |
KSh {{ item.total_profit|floatformat:2 }} |
{% endfor %}
{% else %}
💸
No profit data available
{% endif %}
{% if stock_levels %}
{% for stock in stock_levels %}
{{ stock.quantity }}
units
{{ stock.product.name }}
{% endfor %}
{% else %}
📍
No location-specific stock data available
{% endif %}