Use task order in TOSidebar macro

This commit is contained in:
Montana 2019-06-04 11:00:48 -04:00
parent 783281fade
commit a0a8c8e1f1
2 changed files with 3 additions and 3 deletions

View File

@ -1,4 +1,4 @@
{% macro TOSidebar() -%}
{% macro TOSidebar(task_order) -%}
<div class="col to-sidebar">
<div class="h4">Total obligated funds</div>
@ -8,7 +8,7 @@
<hr>
<div class="h4">Total contract amount</div>
<div class="h3">$800,000</div>
<div class="h3">{{ task_order.budget | dollars }}</div>
<div>This is the value of all funds obligated for this contract, including -- but not limited to -- funds obligated for the cloud.</div>
</div>

View File

@ -83,7 +83,7 @@
<div class="h4">{{ Icon('ok',classes="icon-validation") }}document</div>
</div>
{{ TOSidebar() }}
{{ TOSidebar(task_order=task_order) }}
</div>