72 lines
2.3 KiB
HTML
72 lines
2.3 KiB
HTML
{% from "components/icon.html" import Icon %}
|
|
{% from "components/semi_collapsible_text.html" import SemiCollapsibleText %}
|
|
{% from "components/totals_box.html" import TotalsBox %}
|
|
|
|
|
|
<div class="task-order__review">
|
|
<div class="form-row">
|
|
<div class="form-col">
|
|
<div class="h2">
|
|
{{ "task_orders.review.review_your_task_order" | translate }}
|
|
</div>
|
|
|
|
<div class="h3">
|
|
{{ 'task_orders.review.pdf_title' | translate }}
|
|
</div>
|
|
<a class="icon-link icon-link--download" href="{{ url_for('task_orders.download_task_order_pdf', task_order_id=task_order.id) }}">
|
|
{{ Icon('check-circle-solid') }}
|
|
{{ task_order.pdf.filename }}
|
|
</a>
|
|
|
|
<hr>
|
|
|
|
<div class="col task-order__details">
|
|
<div class="h3">
|
|
{{ "task_orders.review.task_order_number" | translate }}
|
|
</div>
|
|
<div>{{task_order.number}}</div>
|
|
|
|
<hr>
|
|
|
|
<div class="h3">
|
|
{{ "task_orders.review.funding_summary" | translate }}
|
|
</div>
|
|
|
|
{% for clin in task_order.clins %}
|
|
<div>
|
|
{{ "{}".format(clin.jedi_clin_type) | translate}}
|
|
</div>
|
|
<table class="fixed-table-wrapper">
|
|
<thead>
|
|
<tr>
|
|
<th class="task-order__clin-amount">{{ "task_orders.review.clins.amount" | translate }}</th>
|
|
<th>{{ "task_orders.review.clins.obligated" | translate }}</th>
|
|
<th>{{ "task_orders.review.clins.pop_start" | translate }}</th>
|
|
<th>{{ "task_orders.review.clins.pop_end" | translate }}</th>
|
|
</tr>
|
|
</thead>
|
|
|
|
<tbody>
|
|
<tr>
|
|
<td>{{ clin.obligated_amount | dollars }}</td>
|
|
<td>
|
|
{% if clin.is_obligated() %}
|
|
{{ "common.yes" | translate }}
|
|
{% else %}
|
|
{{ "common.no" | translate }}
|
|
{% endif %}
|
|
</td>
|
|
<td>{{ clin.start_date | formattedDate }}</td>
|
|
<td>{{ clin.end_date | formattedDate }}</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
{% endfor %}
|
|
</div>
|
|
</div>
|
|
<div class="form-col">
|
|
{{ TotalsBox(task_order=task_order) }}
|
|
</div>
|
|
</div>
|
|
</div>
|