{% extends "base.html" %} {% block title %}Debts{% endblock %} {% from "_debt_form.html" import debt_form with context %} {% block content %}
| Name | Status | Progress | Total | Paid | Remaining | Monthly | Next due | Last payment | Paid off ≈ |
|---|---|---|---|---|---|---|---|---|---|
| {{ x.name }} {{ x.counterparty }} |
{% set cls = {'behind':'bad','on track':'good','ahead':'good','paid off':'good'}.get(s.status, '') %} {{ s.status }}{% if s.missed %} · {{ s.missed }} missed{% endif %} | {{ '%.0f'|format(s.pct) }}% |
{{ x.principal|eur }} | {{ s.paid|eur }} | {{ s.remaining|eur }} | {{ x.monthly_payment|eur if x.monthly_payment else '—' }} | {{ s.next_due.strftime('%d-%m-%Y') if s.next_due else '—' }} | {{ s.last_payment.strftime('%d-%m-%Y') if s.last_payment else 'never' }} | {{ s.payoff.strftime('%b %Y') if s.payoff else '—' }} |
| None. | |||||||||
{{ 'Hide' if show_closed else 'Show' }} closed debts
With a monthly payment set, the status compares what should have been paid by now with what was paid. The “auto-match” text links bank transactions automatically (outgoing for debts you have, incoming for money owed to you).