{% extends "base.html" %} {% block title %}Szenarien – Finanzberatung{% endblock %} {% block content %}

Szenarien

{% for row in scenario_rows %} {% set sc = row.scenario %}
{{ sc.name }}

{{ sc.description }} · Wiederkehrende Posten: {{ 'ja' if sc.include_recurring else 'nein' }} · Einmalposten: {{ 'ja' if sc.include_planned else 'nein' }}

Kredite zuordnen {% for l in loans %} {% else %}

Keine Kredite vorhanden.

{% endfor %}

Einträge

{% for m in row.modifiers %} {% endfor %} {% for sp in row.planned_items %} {% endfor %} {% if not row.modifiers and not row.planned_items %} {% endif %}
WasArtWert/BetragDatum
{% if m.target_type == "category" %}Kategorie: {{ category_names.get(m.target_id, m.target_id) }} {% else %}Posten: {{ recurring_names.get(m.target_id, m.target_id) }}{% endif %} {{ m.kind|de_label }} {% if m.kind in ('percent', 'absolute') %}{{ m.value|eur }}{% else %}–{% endif %} {% if m.kind == 'ende' %}{{ m.end_date.strftime('%d.%m.%Y') if m.end_date else '–' }}{% else %}–{% endif %}
{{ sp.name }} Einmalzahlung {{ sp.amount|eur }} € {{ sp.due.strftime('%d.%m.%Y') }}
Keine Einträge.

Neuer Eintrag

— die zur Art passenden Felder werden aktiv, gesperrte Felder sind ausgegraut.

{% if row.result %}

Tiefpunkt: {{ row.result.low_point_balance|eur }} € am {{ row.result.low_point_date.strftime('%d.%m.%Y') }}
{% if row.result.below_zero_date %}Unterschreitet 0 € ab {{ row.result.below_zero_date.strftime('%d.%m.%Y') }}
{% endif %} {% if row.result.below_threshold_date %}Unterschreitet Warnschwelle ab {{ row.result.below_threshold_date.strftime('%d.%m.%Y') }}
{% endif %} Kurven in Grafana ansehen.

{% else %}

Noch nicht durchgerechnet.

{% endif %}
{% else %}

Noch keine Szenarien.

{% endfor %}
Neues Szenario anlegen
{% endblock %}