{% extends "workspaces/base.html" %} {% from "components/alert.html" import Alert %} {% from "components/icon.html" import Icon %} {% block workspace_content %} {{ Alert("Funding Information & Reports for Workspace " + workspace.name, message="

On this screen you'll find detailed reporting information on this workspace. This message needs to be written better and be dismissable.

", actions=[ {"label": "Learn More", "href": "/", "icon": "info"}, {"label": "Dismiss", "href": "/"} ] ) }}

Workspace Total Spend

{% set budget = workspace_totals['budget'] %} {% set spent = workspace_totals['spent'] %} {% set remaining = budget - spent %}
Budget
{{ budget | dollars }}
Remaining
{{ remaining | dollars }}
Total spend to date
{{ spent | dollars }}

Task Order

Task Order Number
1234567890
Expires
Remaining
{{ remaining_days }} days
Manage Task Order
Contracting Officer
Pietro Quirines email@email.com
{% set workspace_totals = monthly_totals['workspace'] %} {% set current_month_index = current_month.strftime('%m/%Y') %} {% set prev_month_index = prev_month.strftime('%m/%Y') %} {% set two_months_ago_index = two_months_ago.strftime('%m/%Y') %} {% set reports_url = url_for("workspaces.workspace_reports", workspace_id=workspace.id) %}

Cumulative Budget

Monthly Spend
Monthly spend visual key
Accumulated Spend
Accumulated spend visual key
Projected
Projected monthly spend visual key
Projected accumulated spend visual key
{# spend/projected budget path lines #} {# max budget line #} {# make this clickable to focus on that month #}  |  {# container block #} {# budget bar #} {# projected budget bar #} {# task order expiration line #} {# task order expiration label #} T.O. Expires {# cumulative dot #} {# abbreviated cumulative label #} {# abbreviated spend label #} {# month label #} {# year label #} Total Budget

Total spend per month

{# {% for project_name, project_totals in monthly_totals['projects'].items() %} {% for env_name, env_totals in monthly_totals['environments'][project_name].items() %} {% endfor %} {% endfor %} #}
Spending scope {{ two_months_ago.strftime('%B %Y') }} {{ prev_month.strftime('%B %Y') }} {{ current_month.strftime('%B %Y') }}
Workspace Total {{ workspace_totals.get(two_months_ago_index, 0) | dollars }} {{ workspace_totals.get(prev_month_index, 0) | dollars }} {{ workspace_totals.get(current_month_index, 0) | dollars }}
{{ Icon('link') }}
{{ project_totals.get(two_months_ago_index, 0) | dollars }} {{ project_totals.get(prev_month_index, 0) | dollars }} {{ project_totals.get(current_month_index, 0) | dollars }} {{ (100 * (project_totals.get(current_month_index, 0) / workspace_totals.get(current_month_index, 1))) | round | int }}%
{{ Icon('link') }} {{ env_name }} {{ env_totals.get(two_months_ago_index, 0) | dollars }} {{ env_totals.get(prev_month_index, 0) | dollars }} {{ env_totals.get(current_month_index, 0) | dollars }}
{% endblock %}