{% extends "base.html" %} {% block title %}Alberich: the Purse{% endblock %} {% macro picker(cur) %}
{% endmacro %} {% macro usescard(tab) %}Logged one by one{% if tab == 'plan' %}, across every pouch{% endif %}. Tap Undo to give a credit back if you fat-fingered it; Restore puts it back.
{% if not uses %}Nothing logged in the last 45 days.
{% else %}The spendings that drain you, as counts per month. Pick one below to adjust it.
{% if tab == 'plan' %}A pouch tied to a category gets a share of that category's aim from the Treasury, divided by what one credit costs. Credits update on their own when a statement is filed, and purchases the statements show for this month use them up. The month starts fresh on the 1st. Untick "set credits automatically" on a pouch to choose its credits yourself.
{% set loose = rows|selectattr('row.archived', 'equalto', 0)|rejectattr('row.category_id')|list %} {% if loose %}