- Edits views to only show spending at the portfolio level -- no longer broken out by JEDI CLIN - Removes Monthly Spending table -- keeps the template, just no longer uses it. - Removes amount unspent from the expired funding table
50 lines
1.8 KiB
HTML
50 lines
1.8 KiB
HTML
{% from "components/accordion.html" import Accordion %}
|
|
{% from "components/icon.html" import Icon %}
|
|
|
|
|
|
<section>
|
|
<div class="usa-accordion">
|
|
{% call Accordion(
|
|
"Expired funding",
|
|
"expired_funding",
|
|
heading_classes="reporting-expended-funding__header",
|
|
content_tag="table",
|
|
content_classes="atat-table reporting-expended-funding__content") %}
|
|
<thead>
|
|
<tr>
|
|
<th>TO CLIN</th>
|
|
<th>PoP</th>
|
|
<th>CLIN Value</th>
|
|
<th>Amount Obligated</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
{% for task_order in expired_task_orders %}
|
|
<tr>
|
|
<td colspan="4">
|
|
<span class="h4 reporting-expended-funding__header">Task Order</span> <a href="{{ url_for("task_orders.view_task_order", task_order_id=task_order.id) }}">
|
|
{{ task_order.number }} {{ Icon("caret_right", classes="icon--tiny icon--blue" ) }}
|
|
</a>
|
|
</td>
|
|
</tr>
|
|
{% for clin in task_order.clins %}
|
|
<tr>
|
|
<td>
|
|
<div class="h4 reporting-expended-funding__header">{{ clin.number }}</div>
|
|
<div>{{ ("{}".format(clin.jedi_clin_type) | translate)[15:] }}</div>
|
|
</td>
|
|
<td>
|
|
{{ clin.start_date | formattedDate(formatter="%b %d, %Y") }}
|
|
-
|
|
{{ clin.end_date | formattedDate(formatter="%b %d, %Y") }}
|
|
</td>
|
|
<td class="table-cell--align-right">{{ clin.total_amount | dollars }}</td>
|
|
<td class="table-cell--align-right">{{ clin.obligated_amount | dollars }}</td>
|
|
<tr>
|
|
{% endfor %}
|
|
{% endfor %}
|
|
</tbody>
|
|
{% endcall %}
|
|
</div>
|
|
</section>
|