{% extends "base.html" %} {% block title %}Alberich: the Reckoning{% endblock %} {% block body %}

The Reckoning

←{{ month }}→ The review
{% if request.query_params.get('moved') %}
Sorted. {{ request.query_params.get('moved') }} purchases were re-filed.
{% endif %} {% if r.undecided %}
{{ r.undecided }} purchase{{ 's' if r.undecided != 1 }} still undecided. These figures use the proposed splits until you finish the review.
{% endif %}
Your share of spending
{{ money(r.mine) }}

Of {{ money(r.all) }} spent across all tracked accounts{% if r.income %}; your side took in {{ money(r.income) }}{% endif %}.

This month's split
{% if r.partner_owes_me > 50 %}
{{ partner }} owes you {{ money(r.partner_owes_me) }}
{% elif r.partner_owes_me < -50 %}
You owe {{ partner }} {{ money(-r.partner_owes_me) }}
{% else %}
All square
{% endif %}

Worked out from who paid (by account) against each purchase's share. Transfers between your own accounts are left out. The running tally below includes repayments.

Settling up, so far

{% if tally.balance > 50 %}
{{ partner }} owes you {{ money(tally.balance) }}
{% elif tally.balance < -50 %}
You owe {{ partner }} {{ money(-tally.balance) }}
{% else %}
All square
{% endif %}

{{ partner }}'s share of what you paid{% if tally.start %} since {{ tally.start }}{% endif %}: {{ money(tally.owed) }}. Paid back to you: {{ money(tally.received) }}.{% if tally.waived %} Waived: {{ money(tally.waived) }}.{% endif %}{% if tally.paid %} You paid {{ partner }}: {{ money(tally.paid) }}.{% endif %}

{% if cands %}
Already in your statements? Mark the deposit

A repayment deposit counts as income until you mark it. Marking it keeps it out of your income and counts it here.

{% for c in cands %}
{{ c.posted_date }} · {{ c.acct }} · {{ c.description_raw[:34] }} · {{ money(-c.amount_cents) }}
{% endfor %}{% endif %} {% if tally.payments %}
Payments counted
{% for p in tally.payments %}
{{ p.date }} · {% if p.waived %}Waived {{ money(p.cents) }}{% elif p.cents > 0 %}{{ partner }} paid you {{ money(p.cents) }}{% if p.full and p.full != p.cents %} (counted of {{ money(p.full) }}){% endif %}{% else %}You paid {{ partner }} {{ money(-p.cents) }}{% endif %}{% if p.note %} · {{ p.note }}{% endif %}{% if p.acct %} · from {{ p.acct }}{% endif %}
{% endfor %}{% endif %} {% if tally.balance > 50 %}
{% endif %}

Earlier months you have already squared up can be left out.

{% if other_pct >= 15 %}
{{ other_pct }}% of your spending is filed under Other. Sort the Other pile and the breakdown below will mean more.
{% endif %}

Where your share went

{% for name, cents in r.by_category %}
{{ name }}
{{ money(cents) }}
{% else %}

Nothing yet.

{% endfor %}

Your partner

Only a name for labels, and the split proposed when Alberich knows nothing.

{% if rules %}

Standing rules

{% for ru in rules %}
{{ ru.name }}: your share {{ (ru.my_bps / 100)|round|int }}%
{% endfor %}
{% endif %} {% endblock %}