{% extends "base.html" %} {% block title %}Accounts - BiweeklyBudget{% endblock %} {% block body %} {% include 'notifications.html' %}
Bank Accounts
{% for acct in bank_accounts|sort(attribute='name') %} {% endfor %}
Account Balance Unreconciled Difference
{{ acct.name }} {{ acct.balance.ledger|dollars }} {% if acct.is_stale %} ({{ acct.ofx_statement.as_of|ago }}) {% else %} ({{ acct.ofx_statement.as_of|ago }}) {% endif %} {{ acct.unreconciled_sum|dollars }} {{ (cast_float(acct.balance.ledger) - acct.unreconciled_sum)|reddollars|safe }}
Credit Cards
{% for acct in credit_accounts|sort(attribute='name') %} {% endfor %}
Account Balance Credit Limit Available Unreconciled Difference
{{ acct.name }} {{ acct.balance.ledger|dollars }} {% if acct.is_stale %} ({{ acct.ofx_statement.as_of|ago }}) {% else %} ({{ acct.ofx_statement.as_of|ago }}) {% endif %} {{ acct.credit_limit|dollars }} {{ (acct.credit_limit + acct.balance.ledger)|reddollars|safe }} {{ acct.unreconciled_sum|dollars }} {{ (cast_float(acct.credit_limit + acct.balance.ledger) - acct.unreconciled_sum)|reddollars|safe }}
Investment Accounts
{% for acct in investment_accounts|sort(attribute='name') %} {% endfor %}
Account Value
{{ acct.name }} {{ acct.balance.ledger|dollars }} {% if acct.is_stale %} ({{ acct.ofx_statement.as_of|ago }}) {% else %} ({{ acct.ofx_statement.as_of|ago }}) {% endif %}
{% endblock %}