{% load humanize %}
Today
Total Sales Ksh {{ summary.today.total_sales|intcomma }}
Gross Profit Ksh {{ summary.today.total_profit|intcomma }}
{% if net_profit_summary.today.operating_expenses > 0 %}
Operating Expenses − Ksh {{ net_profit_summary.today.operating_expenses|intcomma }}
{% endif %}
Net Profit Ksh {{ net_profit_summary.today.net_profit|intcomma }}
{% if net_profit_summary.today.inventory_spent > 0 %}
Restock spent Ksh {{ net_profit_summary.today.inventory_spent|intcomma }}
{% endif %} {% if net_profit_summary.today.capital_spent > 0 %}
Capital spent Ksh {{ net_profit_summary.today.capital_spent|intcomma }}
{% endif %}
{% if summary.today.cash_sales > 0 %}
Cash Ksh {{ summary.today.cash_sales|intcomma }}
{% endif %} {% if summary.today.mpesa_sales > 0 %}
Mpesa Ksh {{ summary.today.mpesa_sales|intcomma }}
{% endif %} {% if summary.today.agent_sales > 0 %}
Agent Ksh {{ summary.today.agent_sales|intcomma }}
{% endif %} {% if summary.today.balance_sales > 0 %}
Balance Ksh {{ summary.today.balance_sales|intcomma }}
{% endif %}
This Month
Total Sales Ksh {{ summary.this_month.total_sales|intcomma }}
Gross Profit Ksh {{ summary.this_month.total_profit|intcomma }}
{% if net_profit_summary.this_month.operating_expenses > 0 %}
Operating Expenses − Ksh {{ net_profit_summary.this_month.operating_expenses|intcomma }}
{% endif %}
Net Profit Ksh {{ net_profit_summary.this_month.net_profit|intcomma }}
{% if net_profit_summary.this_month.inventory_spent > 0 %}
Restock spent Ksh {{ net_profit_summary.this_month.inventory_spent|intcomma }}
{% endif %} {% if net_profit_summary.this_month.capital_spent > 0 %}
Capital spent Ksh {{ net_profit_summary.this_month.capital_spent|intcomma }}
{% endif %}
{% if summary.this_month.cash_sales > 0 %}
Cash Ksh {{ summary.this_month.cash_sales|intcomma }}
{% endif %} {% if summary.this_month.mpesa_sales > 0 %}
Mpesa Ksh {{ summary.this_month.mpesa_sales|intcomma }}
{% endif %} {% if summary.this_month.agent_sales > 0 %}
Agent Ksh {{ summary.this_month.agent_sales|intcomma }}
{% endif %} {% if summary.this_month.balance_sales > 0 %}
Balance Ksh {{ summary.this_month.balance_sales|intcomma }}
{% endif %}
This Year
Total Sales Ksh {{ summary.this_year.total_sales|intcomma }}
Gross Profit Ksh {{ summary.this_year.total_profit|intcomma }}
{% if net_profit_summary.this_year.operating_expenses > 0 %}
Operating Expenses − Ksh {{ net_profit_summary.this_year.operating_expenses|intcomma }}
{% endif %}
Net Profit Ksh {{ net_profit_summary.this_year.net_profit|intcomma }}
{% if net_profit_summary.this_year.inventory_spent > 0 %}
Restock spent Ksh {{ net_profit_summary.this_year.inventory_spent|intcomma }}
{% endif %} {% if net_profit_summary.this_year.capital_spent > 0 %}
Capital spent Ksh {{ net_profit_summary.this_year.capital_spent|intcomma }}
{% endif %}
{% if summary.this_year.cash_sales > 0 %}
Cash Ksh {{ summary.this_year.cash_sales|intcomma }}
{% endif %} {% if summary.this_year.mpesa_sales > 0 %}
Mpesa Ksh {{ summary.this_year.mpesa_sales|intcomma }}
{% endif %} {% if summary.this_year.agent_sales > 0 %}
Agent Ksh {{ summary.this_year.agent_sales|intcomma }}
{% endif %} {% if summary.this_year.balance_sales > 0 %}
Balance Ksh {{ summary.this_year.balance_sales|intcomma }}
{% endif %}