{% extends "ledger/base.html" %} {% load ledger_extras %} {% block title %}Analytics ยท tripsplit{% endblock %} {% block content %}

Analytics

All figures in {{ base }}, converted at each expense's stored rate. Settlements are excluded.

Total spend
{{ total }}
{% if burn %}
Burn rate
{{ daily_fmt }}/day
over {{ burn.days_elapsed }} day{{ burn.days_elapsed|pluralize }}{% if burn.total_days %} of {{ burn.total_days }}{% endif %}
{% if burn.budget_used is not None %}

Budget {{ budget_fmt }}: {{ burn.budget_used|pct }} used {% if burn.on_track is not None %}{% if burn.on_track %}on track{% else %}over pace{% endif %}{% endif %}

{% if projected_fmt %}
Projected total {{ projected_fmt }}
{% endif %}{% endif %}
{% endif %} {% if r.pays_most %}
Pays the most (paid / fair share)
{{ r.pays_most.name }} {{ r.pays_most.ratio|pct }}
Lowest: {{ r.pays_least.name }} {{ r.pays_least.ratio|pct }}
{% endif %}

Spend by category

{{ category_chart }}

Paid by person

{{ paid_chart }}

Fair share by person

{{ share_chart }}

Spend by day

{{ daily_chart }}

Fairness

{% for p in r.people %}{% endfor %}
PersonPaidSharePaid / share
{{ p.name }}{{ p.paid|money:base }}{{ p.share|money:base }}{{ p.ratio|pct }}
{% endblock %}