{% 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
November 1, 2019
Remaining
200 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') %}

Total spend per month

{% for project_name, project_totals in monthly_totals['projects'].items() %} {% 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 }}
{% endblock %}