atst/templates/components/totals_box.html
graham-dds e2bd6bd823 Reorganize task order review template
- update copy in translations
 - Move TO totals out of sidebar
 - Group CLINs into 1 table with altered columns, instead of a
    separate table for each
 - edit CSS on CLIN table
2019-09-04 12:14:53 -04:00

22 lines
741 B
HTML

{% macro TotalsBox(task_order=None, obligated_funds=0, contract_amount=0) -%}
<div class="totals-box">
{% if task_order %}
{% set obligated_funds = task_order.total_obligated_funds %}
{% set contract_amount = task_order.total_contract_amount %}
{% endif %}
<div class="h4">{{ 'components.totals_box.obligated_funds' | translate }}</div>
<div class="h3">{{ obligated_funds | dollars }}</div>
<p>{{ 'components.totals_box.obligated_text' | translate }}</p>
<hr>
<div class="h4">{{ 'components.totals_box.total_amount' | translate }}</div>
<div class="h3">{{ contract_amount | dollars }}</div>
<p>{{ 'components.totals_box.total_text' | translate }}</p>
</div>
{%- endmacro %}