From a0a8c8e1f190449016412aabff2c2580228c93af Mon Sep 17 00:00:00 2001 From: Montana Date: Tue, 4 Jun 2019 11:00:48 -0400 Subject: [PATCH] Use task order in TOSidebar macro --- templates/components/to_sidebar.html | 4 ++-- templates/portfolios/task_orders/review.html | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/templates/components/to_sidebar.html b/templates/components/to_sidebar.html index 1b495b7b..c7109a9f 100644 --- a/templates/components/to_sidebar.html +++ b/templates/components/to_sidebar.html @@ -1,4 +1,4 @@ -{% macro TOSidebar() -%} +{% macro TOSidebar(task_order) -%}
Total obligated funds
@@ -8,7 +8,7 @@
Total contract amount
-
$800,000
+
{{ task_order.budget | dollars }}
This is the value of all funds obligated for this contract, including -- but not limited to -- funds obligated for the cloud.
diff --git a/templates/portfolios/task_orders/review.html b/templates/portfolios/task_orders/review.html index 58d2767a..cd29ebb3 100644 --- a/templates/portfolios/task_orders/review.html +++ b/templates/portfolios/task_orders/review.html @@ -83,7 +83,7 @@
{{ Icon('ok',classes="icon-validation") }}document
- {{ TOSidebar() }} + {{ TOSidebar(task_order=task_order) }}