Finance Tracker (go to
Bills
)
{% for r in DISP %}
{% for el in r %} {% if COMP and ( COMP['vars'][el.varname] != finance[el.varname] or (COMP['vars'][el.datevarname] is defined and COMP['vars'][el.datevarname] != finance[el.datevarname]) ) %} {% set extra=" text-info" %} {% else %} {% set extra="" %} {% endif %}
{{el.label}}
{% for o in el.opts %}
{{o.label}}
{% endfor %}
{% elif el.display=="date" %} {% if COMP and (COMP['vars'][el.varname] != finance[el.varname] or COMP['vars'][el.datevarname] != finance[el.datevarname]) %} data-bs-toggle="tooltip" title="Comparison was: {{COMP['vars'][el.varname]}} on {{COMP['vars'][el.datevarname]}}" {% endif %} class="col-form-label me-2 text-end float-end {{extra}}">{{el.label}}
{% else %} {% if COMP and COMP['vars'][el.varname] != finance[el.varname] %} data-bs-toggle="tooltip" title="Comparison was: {{COMP['vars'][el.varname]}}" {% endif %} class="col-form-label me-2 text-end float-end {{extra}}">{{el.label}} {% if el.display== "readonly" %} {% set bg="bg-body-tertiary" %} {% set bd="" %} {% else %} {% set bg="" %} {% set bd="border-1 border-info" %} {% endif %}
{% endif %}
{% endfor %}
{% endfor %}
Fortnighthly Savings data: {% if COMP %} {# get comparison date so we can use it below in loop to know when to print it out #} {% set comp_yr=COMP['date'][:4] %} {% set comp_mon=COMP['date'][5:7] %} {% set comp_day=COMP['date'][8:10 ] %} {% set comp_done=namespace( val=0 ) %} {% else %} {# we dont need to do a comparison, so consider it done before we begin #} {% set comp_done=namespace( val=1 ) %} {% endif %}
2025
{# inside started if below, we add blank lines to the start of the year so the dates line up #} {% for _ in range( 0, padding ) %}
{% endfor %} {% for date, dollars in savings %} {% set yr=date[:4] %} {% set mon=date[5:7] %} {% set day=date[8:10 ] %} {% if yr|int > first_yr|int and mon == '01' and day|int <= 14 %}
{{yr}}
{% endif %}
{{ date }}: {{ '$%0.2f' % dollars|float }}
{% if comp_done.val == 0 and yr == comp_yr and mon == comp_mon and day|int >= comp_day|int %}
{{ COMP['date'] }}: {{ '$%0.2f' % COMP['amount']|float }}
{% set comp_done.val=1 %} {% endif %} {% endfor %} {% if depletion_date %}
Run out of $'s:
{{depletion_date}}
{% else %}
Super kicks in!!!
{% endif %}
SUMMARY/BUDGET
{% for label, value in BUDGET %}
{{label}} {{value}}
{% endfor %}
Save
Compare to:
{% for el in finance['COMP_SETS'] %}
{{el[1]}}
{% endfor %}
{% if COMP %}
Note: {{ '$%0.2f' % COMP['amount']|float }} is the final value of the compared to data (with a buffer of: {{ '$%0.2f' % COMP['buffer']|float }}). Hover over blue labels above to see what compared to values differed
{% endif %}
Save
Save data for future comparison
With name: