Update total_spend to dollar_value so that it doesn't break existing functionality in request-queue

This commit is contained in:
Luis Cielak 2018-07-31 10:58:52 -04:00
parent 632132de10
commit be3d5b287e
3 changed files with 4 additions and 3 deletions

View File

@ -99,7 +99,8 @@ class RequestForm(ValidatedForm):
description="Use the <a href=\"#\">JEDI CSP Calculator</a> to estimate your monthly cloud resource usage and enter the dollar amount below. Note these estimates are for initial approval only. After the request is approved, you will be asked to provide a valid Task Order number with specific CLIN amounts for cloud services."
)
total_spend = IntegerField(
dollar_value = IntegerField(
"Total Spend",
description="What is your total expected budget for this JEDI Cloud Request?",
)

View File

@ -36,7 +36,7 @@
<h2>Financial Usage</h2>
{% module TextInput(f.estimated_monthly_spend) %}
<p>So this means you are spending approximately <b>$X</b> annually</p>
{% module TextInput(f.total_spend) %}
{% module TextInput(f.dollar_value) %}
{% module TextInput(f.number_user_sessions) %}
{% module TextInput(f.average_daily_traffic) %}
{% module TextInput(f.start_date) %}

View File

@ -87,7 +87,7 @@
<div>
<dt>Total Spend</dt>
<dd>{{data['details_of_use']['total_spend']}}</dd>
<dd>${{data['details_of_use']['dollar_value']}}</dd>
</div>
<div>