Tweak what "total portfolio value" represents
On the reports page, "total portfolio value" should represent the sum of obligated funds for active task orders.
This commit is contained in:
parent
a6b8c673e2
commit
a3e9400a0d
@ -50,9 +50,7 @@ def reports(portfolio_id):
|
|||||||
"portfolios/reports/index.html",
|
"portfolios/reports/index.html",
|
||||||
portfolio=portfolio,
|
portfolio=portfolio,
|
||||||
# wrapped in str() because this sum returns a Decimal object
|
# wrapped in str() because this sum returns a Decimal object
|
||||||
total_portfolio_value=str(
|
total_portfolio_value=str(portfolio.total_obligated_funds),
|
||||||
portfolio.total_obligated_funds + portfolio.upcoming_obligated_funds
|
|
||||||
),
|
|
||||||
current_obligated_funds=current_obligated_funds,
|
current_obligated_funds=current_obligated_funds,
|
||||||
expired_task_orders=Reports.expired_task_orders(portfolio),
|
expired_task_orders=Reports.expired_task_orders(portfolio),
|
||||||
retrieved=pendulum.now(), # mocked datetime of reporting data retrival
|
retrieved=pendulum.now(), # mocked datetime of reporting data retrival
|
||||||
|
@ -516,7 +516,7 @@ portfolios:
|
|||||||
estimate_warning: Reports displayed in JEDI are estimates and not a system of record. To manage your costs, go to Azure by selecting the Login to Azure button above.
|
estimate_warning: Reports displayed in JEDI are estimates and not a system of record. To manage your costs, go to Azure by selecting the Login to Azure button above.
|
||||||
total_value:
|
total_value:
|
||||||
header: Total Portfolio Value
|
header: Total Portfolio Value
|
||||||
tooltip: Total portfolio value is all obligated funds for current and upcoming task orders in this portfolio.
|
tooltip: Total portfolio value is all obligated funds for active task orders in this portfolio.
|
||||||
task_orders:
|
task_orders:
|
||||||
add_new_button: Add New Task Order
|
add_new_button: Add New Task Order
|
||||||
review:
|
review:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user