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

The Treasury

What you really spend, category by category, month over month. Nothing here is a limit to stay under. Alberich uses these averages to work out how many credits each pouch in the Purse should have, and keeps them up to date as statements arrive.

{% if not p.categories %}
No spending on file yet. File a few statements in the Ledgers and this page will fill in.
{% else %} {% if behind %}
Some statements stop early. {% for c in behind %}{{ c.account }} ends {{ c.to }}{{ ', ' if not loop.last }}{% endfor %}. The averages rest on what is filed, so they may read low until the newer statements are in.
{% endif %}

Your real month

Your pay{{ money(p.income) }}
{{ partner }}'s share+ {{ money(p.partner_share) }}
Money in{{ money(p.money_in) }}
Everything you paid− {{ money(p.paid) }}
Left over{% if p.left_over >= 0 %}{{ money(p.left_over) }}{% else %}− {{ money(-p.left_over) }}{% endif %}

In a typical month. Your pay comes from {{ 'your salary reference point' if p.pay_from == 'salary' else 'the deposits that look like pay' }}. {{ partner }}'s share is the part of what you paid that your Review gives to her, and "everything you paid" is the full amounts, hers included. She pays her share back, so repayments settle that line and are not extra income. {% if tally.balance_after_suggested > 50 %}She owes you {{ money(tally.balance_after_suggested) }} right now: see the Review.{% elif tally.balance_after_suggested < -50 %}She is {{ money(-tally.balance_after_suggested) }} ahead right now.{% else %}You are square right now.{% endif %} The categories below count only your own share, because that is what the Purse is for.

The {{ deposits|length }} deposits counted as money in

Only deposits that look like pay count as income unless you say otherwise. Anything else is set aside below, where you can count it again, or mark it as your partner paying you back.

{% for x in deposits %}
{{ money(x.cents) }} · {{ x.posted_date }} · {{ x.acct }} · {{ x.d }}{% if x.likely %} looks like pay{% endif %}
{% endfor %} {% if aside %}
Set aside, not counted
{% for x in aside %}
{{ money(x.cents) }} · {{ x.posted_date }} · {{ x.acct }} · {{ x.d }}
{% endfor %}{% endif %}

Every deposit counts as money in, so mark a partner paying you back as a repayment on the Reckoning, or it will make your income look bigger than it is. From {{ p.months|length }} month{{ 's' if p.months|length != 1 }} of statements. A month the statements only partly cover counts in proportion.

Reference points

Your pay and your rent are the two big fixed things. Enter each with the date it starts from. A raise or a new rent split is a new line from its date, so earlier months keep what was true then. Rent payments you have not decided yourself take your share from the line in effect on their date.

{% if changed %}
Your last two pays were {{ money(changed.cents) }}, not {{ money(changed.was) }}.
{% endif %} {% if suggest_pay %}
Your pay looks like {{ money(suggest_pay.cents) }} {{ every_words[suggest_pay.every] }}.
{% endif %} {% for a in salary %}
Pay from {{ a.start_date }}: {{ money(a.amount_cents) }} {{ every_words[a.every] }}, about {{ money(monthly(a)) }} a month
{% endfor %} {% for a in rent %}
Rent from {{ a.start_date }}: {{ money(a.amount_cents) }} a month, your share {{ '%g' % a.my_pct }}% (payments containing “{{ a.match or 'rent' }}”)
{% endfor %}

Spend less? (optional)

Choose a cut for everything, and change it for any one category. A category's own figure beats the overall one. The Purse is sized from the reduced amounts.

What that saves {% if p.saving > 0 %}about {{ money(p.saving) }} a month{% if p.saving_pct is not none %}, {{ p.saving_pct }}% of your income{% endif %}{% else %}Nothing yet. Pick a cut and save.{% endif %}
{% for c in p.categories %}
{{ c.name }} average {{ money(c.avg) }} {% if c.delta is not none %}{{ latest }} {{ money(c.last) }} {{ '↑ ' if c.delta > 0 else '↓ ' if c.delta < 0 else '' }}{{ money(c.delta|abs) }} vs usual{% endif %} {% if c.callout %}{{ c.callout }}{% endif %} {% if pouches.get(c.id) %}Purse: {% for q in pouches[c.id] %}{{ q.name }} {{ q.credits }} × {{ money(q.estimate) }}{{ ', ' if not loop.last }}{% endfor %}{% else %}no pouch for this{% endif %}
Aim{{ money(c.target) }}
{% endfor %}
{% if p.latest is none or not p.compared_with %}

Once two months of statements are in, each row also shows how the latest month compares with the usual, and what drove any big change.

{% endif %}
{% endif %} {% if extras %}

One-offs you mentioned

Kept out of the averages, so they do not make a normal month look dearer.

{% for a in extras %}
{{ month_label(a.month) }}: {{ money_w(a.amount_cents) }} {{ 'extra income' if a.kind == 'extra_income' else 'one-off expense' }}{% if a.label %} ({{ a.label }}){% endif %}, {{ treat_words[a.treat] }}
{% endfor %}
{% endif %} {% endblock %}