change name of request relationship to legacy task order
This commit is contained in:
@@ -154,7 +154,7 @@
|
||||
</h2>
|
||||
|
||||
<div>
|
||||
{% if jedi_request.task_order.pdf %}
|
||||
{% if jedi_request.legacy_task_order.pdf %}
|
||||
<a href="{{ url_for("requests.task_order_pdf_download", request_id=request_id)}}" download>
|
||||
Download the Task Order PDF
|
||||
</a>
|
||||
@@ -164,29 +164,29 @@
|
||||
</div>
|
||||
|
||||
<dl>
|
||||
{{ DefinitionReviewField("Task Order Information Source", "task_order", "source", filter="getOptionLabel", filter_args=[task_order_sources]) }}
|
||||
{{ DefinitionReviewField("Task Order Information Source", "legacy_task_order", "source", filter="getOptionLabel", filter_args=[task_order_sources]) }}
|
||||
|
||||
{{ DefinitionReviewField("Task Order Number", "task_order", "number") }}
|
||||
{{ DefinitionReviewField("Task Order Number", "legacy_task_order", "number") }}
|
||||
|
||||
{{ DefinitionReviewField("What is the source of funding?", "task_order", "funding_type", filter="getOptionLabel", filter_args=[funding_types]) }}
|
||||
{{ DefinitionReviewField("What is the source of funding?", "legacy_task_order", "funding_type", filter="getOptionLabel", filter_args=[funding_types]) }}
|
||||
|
||||
{% if data["task_order"] and data["task_order"]["funding_type"].value == "OTHER" %}
|
||||
{{ DefinitionReviewField("If other, please specify", "task_order", "funding_type_other") }}
|
||||
{% if data["legacy_task_order"] and data["legacy_task_order"]["funding_type"].value == "OTHER" %}
|
||||
{{ DefinitionReviewField("If other, please specify", "legacy_task_order", "funding_type_other") }}
|
||||
{% endif %}
|
||||
|
||||
{{ DefinitionReviewField("Task Order Expiration Date", "task_order", "expiration_date") }}
|
||||
{{ DefinitionReviewField("Task Order Expiration Date", "legacy_task_order", "expiration_date") }}
|
||||
|
||||
{{ DefinitionReviewField("<dl><dt>CLIN 0001</dt> - <dd>Unclassified IaaS and PaaS Amount</dd></dl>", "task_order", "clin_0001", filter="dollars") }}
|
||||
{{ DefinitionReviewField("<dl><dt>CLIN 0001</dt> - <dd>Unclassified IaaS and PaaS Amount</dd></dl>", "legacy_task_order", "clin_0001", filter="dollars") }}
|
||||
|
||||
{{ DefinitionReviewField("<dl><dt>CLIN 0003</dt> - <dd>Unclassified Cloud Support Package</dd></dl>", "task_order", "clin_0003", filter="dollars") }}
|
||||
{{ DefinitionReviewField("<dl><dt>CLIN 0003</dt> - <dd>Unclassified Cloud Support Package</dd></dl>", "legacy_task_order", "clin_0003", filter="dollars") }}
|
||||
|
||||
{{ DefinitionReviewField("<dl><dt>CLIN 1001</dt> - <dd>Unclassified IaaS and PaaS Amount <br> OPTION PERIOD 1</dd></dl>", "task_order", "clin_1001", filter="dollars") }}
|
||||
{{ DefinitionReviewField("<dl><dt>CLIN 1001</dt> - <dd>Unclassified IaaS and PaaS Amount <br> OPTION PERIOD 1</dd></dl>", "legacy_task_order", "clin_1001", filter="dollars") }}
|
||||
|
||||
{{ DefinitionReviewField("<dl><dt>CLIN 1003</dt> - <dd>Unclassified Cloud Support Package <br> OPTION PERIOD 1</dd></dl>", "task_order", "clin_1003", filter="dollars") }}
|
||||
{{ DefinitionReviewField("<dl><dt>CLIN 1003</dt> - <dd>Unclassified Cloud Support Package <br> OPTION PERIOD 1</dd></dl>", "legacy_task_order", "clin_1003", filter="dollars") }}
|
||||
|
||||
{{ DefinitionReviewField("<dl><dt>CLIN 2001</dt> - <dd>Unclassified IaaS and PaaS Amount <br> OPTION PERIOD 2</dd></dl>", "task_order", "clin_2001", filter="dollars") }}
|
||||
{{ DefinitionReviewField("<dl><dt>CLIN 2001</dt> - <dd>Unclassified IaaS and PaaS Amount <br> OPTION PERIOD 2</dd></dl>", "legacy_task_order", "clin_2001", filter="dollars") }}
|
||||
|
||||
{{ DefinitionReviewField("<dl><dt>CLIN 2003</dt> - <dd>Unclassified Cloud Support Package <br> OPTION PERIOD 2</dd></dl>", "task_order", "clin_2003", filter="dollars") }}
|
||||
{{ DefinitionReviewField("<dl><dt>CLIN 2003</dt> - <dd>Unclassified Cloud Support Package <br> OPTION PERIOD 2</dd></dl>", "legacy_task_order", "clin_2003", filter="dollars") }}
|
||||
|
||||
{{ DefinitionReviewField("Unique Item Identifier (UII)s related to your application(s) if you already have them", "financial_verification", "uii_ids", filter="renderList") }}
|
||||
|
||||
|
@@ -71,55 +71,55 @@
|
||||
|
||||
{% if extended %}
|
||||
<fieldset class="form__sub-fields form__sub-fields--warning">
|
||||
{{ OptionsInput(f.task_order.funding_type) }}
|
||||
{{ OptionsInput(f.legacy_task_order.funding_type) }}
|
||||
|
||||
<template v-if="funding_type == 'OTHER'" v-cloak>
|
||||
{{ TextInput(f.task_order.funding_type_other) }}
|
||||
{{ TextInput(f.legacy_task_order.funding_type_other) }}
|
||||
</template>
|
||||
|
||||
{{ DateInput(f.task_order.expiration_date, placeholder='MM / DD / YYYY', validation='date', tooltip='Please enter the expiration date for the task order only and do not include options that you may choose to exercise in the future.') }}
|
||||
{{ DateInput(f.legacy_task_order.expiration_date, placeholder='MM / DD / YYYY', validation='date', tooltip='Please enter the expiration date for the task order only and do not include options that you may choose to exercise in the future.') }}
|
||||
|
||||
{{ TextInput(
|
||||
f.task_order.clin_0001,
|
||||
f.legacy_task_order.clin_0001,
|
||||
validation='dollars'
|
||||
) }}
|
||||
|
||||
{{ TextInput(
|
||||
f.task_order.clin_0003,
|
||||
f.legacy_task_order.clin_0003,
|
||||
validation='dollars'
|
||||
) }}
|
||||
|
||||
{{ TextInput(
|
||||
f.task_order.clin_1001,
|
||||
f.legacy_task_order.clin_1001,
|
||||
validation='dollars'
|
||||
) }}
|
||||
|
||||
{{ TextInput(
|
||||
f.task_order.clin_1003,
|
||||
f.legacy_task_order.clin_1003,
|
||||
validation='dollars'
|
||||
) }}
|
||||
|
||||
{{ TextInput(
|
||||
f.task_order.clin_2001,
|
||||
f.legacy_task_order.clin_2001,
|
||||
validation='dollars'
|
||||
) }}
|
||||
|
||||
{{ TextInput(
|
||||
f.task_order.clin_2003,
|
||||
f.legacy_task_order.clin_2003,
|
||||
validation='dollars'
|
||||
) }}
|
||||
|
||||
<template v-if="showTaskOrderUpload">
|
||||
<div class="usa-input {% if f.task_order.pdf.errors %} usa-input--error {% endif %}">
|
||||
{{ f.task_order.pdf.label }}
|
||||
{{ f.task_order.pdf }}
|
||||
{% for error in f.task_order.pdf.errors %}
|
||||
<div class="usa-input {% if f.legacy_task_order.pdf.errors %} usa-input--error {% endif %}">
|
||||
{{ f.legacy_task_order.pdf.label }}
|
||||
{{ f.legacy_task_order.pdf }}
|
||||
{% for error in f.legacy_task_order.pdf.errors %}
|
||||
<span class="usa-input__message">{{error}}</span>
|
||||
{% endfor %}
|
||||
</div>
|
||||
</template>
|
||||
<template v-else>
|
||||
<p>Uploaded {{ f.task_order.pdf.data }}.</p>
|
||||
<p>Uploaded {{ f.legacy_task_order.pdf.data }}.</p>
|
||||
<div>
|
||||
<button v-on:click="forceShowTaskOrderUpload($event)">Change</button>
|
||||
</div>
|
||||
@@ -128,7 +128,7 @@
|
||||
{% endif %}
|
||||
|
||||
{{ TextInput(
|
||||
f.task_order.number,
|
||||
f.legacy_task_order.number,
|
||||
placeholder="e.g.: 1234567899C0001",
|
||||
tooltip="A Contracting Officer will likely be the best source for this number.",
|
||||
validation="requiredField"
|
||||
|
@@ -17,7 +17,7 @@
|
||||
<a class='icon-link icon-link--large' href="/workspaces/{{ workspace.id }}/projects">{{ workspace.name }}</a><br>
|
||||
</td>
|
||||
<td>
|
||||
#{{ workspace.task_order.number }}
|
||||
#{{ workspace.legacy_task_order.number }}
|
||||
</td>
|
||||
<td>
|
||||
<span class="label">{{ workspace.user_count }}</span><span class='h6'>Users</span>
|
||||
|
@@ -56,7 +56,7 @@
|
||||
<h2 class='to-summary__heading'>Task Order</h2>
|
||||
<dl class='to-summary__to-number'>
|
||||
<dt class='usa-sr-only'>Task Order Number</dt>
|
||||
<dd>{{ task_order.number }}</dd>
|
||||
<dd>{{ legacy_task_order.number }}</dd>
|
||||
</dl>
|
||||
</div>
|
||||
|
||||
|
Reference in New Issue
Block a user