{% set d = extension.compute() %} {% macro render_node(node) %} {% if node.children %}
截至 {{ d.today }}
從帳戶樹查看生命週期、餘額核對、歷史起點、Pad 與 buffer 狀況。
Balance Freshness
從未核對與缺漏幣別優先,其次是逾期天數最多;尚未逾期則按最接近期限排列。
| Account | 週期 | 各幣別最後 Balance | 已過 | 狀態 |
|---|---|---|---|---|
| {{ r.account }} {% if r.nickname %}{{ r.nickname }}{% endif %} | {{ r.frequency }} 天 |
{% if r.units %}
{% for unit in r.units %}
{{ unit.currency }}
{% if unit.date %}
{{ unit.date }}
{% else %}
尚未核對
{% endif %}
{% endfor %}
{% else %}
尚未有可判定的幣別
{% endif %}
|
{{ r.days_since if r.days_since is not none else '—' }} {% if r.days_since is not none %}天{% endif %} | {% if r.status == 'never' %} 從未核對 {% elif r.status == 'partial' %} 缺少 {{ r.missing_units|join('、') }} {% elif r.status == 'overdue' %} 逾期 {{ r.delta }} 天 {% elif r.delta == 0 %} 今天到期 {% else %} {{ 0 - r.delta }} 天後到期 {% endif %} {% if r.status_ratio is not none %} {{ '%.1f'|format(r.status_ratio) }}× 週期 {% endif %} |
目前沒有設定有效 balance_frequency 的開啟帳戶。
以下開啟中的 Assets/Liabilities 帳戶沒有有效的 balance_frequency,因此不會進入上方排序。
| Account | 最後 Balance | 已過 | 設定 |
|---|---|---|---|
| {{ r.account }} {% if r.nickname %}{{ r.nickname }}{% endif %} | {{ r.last_balance or '—' }} | {{ r.days_since if r.days_since is not none else '—' }} {% if r.days_since is not none %}天{% endif %} | {% if r.invalid %} 設定無效 {% else %} 未設定 {% endif %} |
這個篩選下沒有帳戶。
{% else %}找不到已開立的 Assets、Liabilities 或 Equity 帳戶。
{% endif %}