{% extends "portfolios/base.html" %} {% from 'components/date_picker.html' import DatePicker %} {% from 'components/icon.html' import Icon %} {% from 'components/options_input.html' import OptionsInput %} {% from 'components/save_button.html' import SaveButton %} {% from "components/semi_collapsible_text.html" import SemiCollapsibleText %} {% from "components/sticky_cta.html" import StickyCTA %} {% from 'components/text_input.html' import TextInput %} {% from "components/totals_box.html" import TotalsBox %} {% from 'components/upload_input.html' import UploadInput %} {% macro LOAInput() %}
{% endmacro %} {% macro CLINFields(fields, index) %} {% if index != 0 %}
{% endif %}
{{ OptionsInput(fields.jedi_clin_type, watch=True) }}
{{ TextInput(fields.number, watch=True) }}
Line of accounting (43 characters)
{% for loa in fields.loas %} {{ TextInput(loa, showLabel=False, watch=True) }} {% endfor %} {{ LOAInput() }}
{{ DatePicker(fields.start_date, watch=True) }} {{ DatePicker(fields.end_date, watch=True) }} {{ TextInput(fields.obligated_amount, validation='dollars', watch=True) }}
{% endmacro %} {% block portfolio_content %} {% if task_order_id %} {% set action = url_for("task_orders.update", task_order_id=task_order_id) %} {% set review_action = url_for("task_orders.update", task_order_id=task_order_id, review=True) %} {% else %} {% set action = url_for("task_orders.update", portfolio_id=portfolio.id) %} {% set review_action = url_for("task_orders.update", portfolio_id=portfolio.id, review=True) %} {% endif %}
{{ form.csrf_token }} {% set obligated = task_order.total_obligated_funds if task_order else 0 %} {% set total = task_order.total_contract_amount if task_order else 0 %}
{% call StickyCTA(text="Add Funding") %} {{ "common.cancel" | translate }} {% endcall %}

{{ "task_orders.new.form_help_text" | translate }}


{% include "fragments/flash.html" %}
Add your task order
{{ TextInput(form.number, validation='taskOrderNumber') }}
Add the summary of cloud funding
Data must match with what is in your uploaded document.
{% for clin in form.clins %} {{ CLINFields(clin, index=loop.index - 1) }} {% endfor %}

CLIN type
Line of accounting (43 characters)
{{ LOAInput() }}
Start of period of performance (PoP)
{{ Icon("ok", classes="icon--green") }}
End of period of performance (PoP)
{{ Icon("ok", classes="icon--green") }}

Upload your supporting documentation
Upload a single PDF containing all relevant information. {{ Icon('question')}}
{{ UploadInput(form.pdf, watch=True) }}
Total obligated funds
This is the funding allocated to cloud services. It may be 100% or a portion of the total task order budget.

Total contract amount
This is the value of all funds obligated for this contract, including -- but not limited to -- funds obligated for the cloud.
{% endblock %}