From be3d5b287e2c13672cdd7895011c77bfea71a9e5 Mon Sep 17 00:00:00 2001 From: Luis Cielak Date: Tue, 31 Jul 2018 10:58:52 -0400 Subject: [PATCH] Update total_spend to dollar_value so that it doesn't break existing functionality in request-queue --- atst/forms/request.py | 3 ++- templates/requests/screen-1.html.to | 2 +- templates/requests/screen-4.html.to | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/atst/forms/request.py b/atst/forms/request.py index 04f9bc25..48f128d1 100644 --- a/atst/forms/request.py +++ b/atst/forms/request.py @@ -99,7 +99,8 @@ class RequestForm(ValidatedForm): description="Use the JEDI CSP Calculator 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?", ) diff --git a/templates/requests/screen-1.html.to b/templates/requests/screen-1.html.to index 63db706e..a8ed7887 100644 --- a/templates/requests/screen-1.html.to +++ b/templates/requests/screen-1.html.to @@ -36,7 +36,7 @@

Financial Usage

{% module TextInput(f.estimated_monthly_spend) %}

So this means you are spending approximately $X annually

-{% 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) %} diff --git a/templates/requests/screen-4.html.to b/templates/requests/screen-4.html.to index 10519f50..60dd06ac 100644 --- a/templates/requests/screen-4.html.to +++ b/templates/requests/screen-4.html.to @@ -87,7 +87,7 @@
Total Spend
-
{{data['details_of_use']['total_spend']}}
+
${{data['details_of_use']['dollar_value']}}