{% extends "base.html" %} {% block title %}BiweeklyBudget{% endblock %} {% block extra_head_css %} {% endblock %} {% block body %} {% include 'notifications.html' %}
Account Balances
{% for label, days in [('1m', 30), ('3m', 90), ('6m', 180), ('1y', 365), ('2y', 730), ('5y', 1825), ('All', 0)] %} {% endfor %}
Standing Budgets
{% for b in standing_budgets %} {% endfor %}
Budget Current Balance
{{ b.name }} ({{ b.id }}) {{ b.current_balance|dollars }}
{% for period in periods %} {% if curr_pp.start_date == period.start_date %} {% else %} {% endif %} {% endfor %}
Start Date Allocated Spent Remaining
{{ period.start_date|dateymd }} (current)
{{ period.start_date|dateymd }}{{ period.overall_sums['allocated']|dollars }} {{ period.overall_sums['spent']|dollars }} {{ period.overall_sums['remaining']|reddollars|safe }}
Bank Accounts
{% for acct in bank_accounts|sort(attribute='name') %} {% set ledger = acct.balance.ledger if acct.balance else None %} {% endfor %}
Account Balance Unreconciled Difference
{{ 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') %} {% set ledger = acct.balance.ledger if acct.balance else None %} {% endfor %}
Account Balance Available Avail - Unrec
{{ acct.name }} {{ ledger|dollars }} {% if acct.ofx_statement %} ({{ acct.ofx_statement.as_of|ago }}) {% endif %} {% if ledger is not none and acct.credit_limit is not none %}{{ (acct.credit_limit + ledger)|reddollars|safe }}{% endif %} {% 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') %} {% set ledger = acct.balance.ledger if acct.balance else None %} {% endfor %}
Account Value
{{ acct.name }} {{ ledger|dollars }} {% if acct.ofx_statement %} ({{ acct.ofx_statement.as_of|ago }}) {% endif %}
{% include 'modal.html' %} {% endblock %} {% block extra_foot_script %} {% endblock %}