Merge pull request #184 from dod-ccpo/financial-page-bug-159795524

review and submit page bugs (159795524 and 159889979)
This commit is contained in:
dandds
2018-08-20 12:50:55 -04:00
committed by GitHub
6 changed files with 35 additions and 15 deletions

View File

@@ -10,7 +10,7 @@ def map_request(request):
time_created = pendulum.instance(request.time_created)
is_new = time_created.add(days=1) > pendulum.now()
app_count = request.body.get("details_of_use", {}).get("num_software_systems", 0)
annual_usage = request.body.get("details_of_use", {}).get("dollar_value", 0)
annual_usage = request.annual_spend
update_url = url_for(
"requests.requests_form_update", screen=1, request_id=request.id
)