{% extends "base.html" %} {% block title %}Accounts - BiweeklyBudget{% endblock %} {% block extra_head_css %} {% endblock %} {% block body %} {% include 'notifications.html' %}
Bank Accounts
{% for acct in bank_accounts|sort(attribute='name') %} {% if acct.is_active %}{% else %}{% endif %} {% if acct.is_active %}{% else %}{% endif %} {% set ledger = acct.balance.ledger if acct.balance else None %} {% endfor %}
Active? Account Balance Unreconciled Difference
yesNO{{ acct.name }} {{ ledger|dollars }} {% if acct.ofx_statement %} ({{ acct.ofx_statement.as_of|ago }}) {% endif %} {{ acct.unreconciled_sum|dollars }} {% if ledger is not none %}{{ (ledger - acct.unreconciled_sum)|reddollars|safe }}{% endif %}
Credit Cards
{% for acct in credit_accounts|sort(attribute='name') %} {% if acct.is_active %}{% else %}{% endif %} {% if acct.is_active %}{% else %}{% endif %} {% set ledger = acct.balance.ledger if acct.balance else None %} {% endfor %}
Active? Account Balance Credit Limit Available Unreconciled Difference
yesNO{{ acct.name }} {{ ledger|dollars }} {% if acct.ofx_statement %} ({{ acct.ofx_statement.as_of|ago }}) {% endif %} {{ acct.credit_limit|dollars }} {% if ledger is not none and acct.credit_limit is not none %}{{ (acct.credit_limit + ledger)|reddollars|safe }}{% endif %} {{ acct.unreconciled_sum|dollars }} {% if ledger is not none and acct.credit_limit is not none %}{{ (acct.credit_limit + ledger - acct.unreconciled_sum)|reddollars|safe }}{% endif %}
Investment Accounts
{% for acct in investment_accounts|sort(attribute='name') %} {% if acct.is_active %}{% else %}{% endif %} {% if acct.is_active %}{% else %}{% endif %} {% set ledger = acct.balance.ledger if acct.balance else None %} {% endfor %}
Active? Account Value
yesNO{{ acct.name }} {{ ledger|dollars }} {% if acct.ofx_statement %} ({{ acct.ofx_statement.as_of|ago }}) {% endif %}
{% include 'modal.html' %} {% endblock %} {% block extra_foot_script %} {% endblock %}