Merge pull request #593 from dod-ccpo/to-funding-status-alerts
TO Statuses on Portfolio Funding Page
This commit is contained in:
@@ -26,6 +26,7 @@ def portfolio_funding(portfolio_id):
|
||||
"start_date",
|
||||
"end_date",
|
||||
"display_status",
|
||||
"days_to_expiration",
|
||||
"balance",
|
||||
]
|
||||
}
|
||||
@@ -45,6 +46,7 @@ def portfolio_funding(portfolio_id):
|
||||
if active_task_orders
|
||||
else None
|
||||
)
|
||||
funded = len(active_task_orders) > 1
|
||||
total_balance = sum([task_order["balance"] for task_order in active_task_orders])
|
||||
|
||||
return render_template(
|
||||
@@ -54,6 +56,7 @@ def portfolio_funding(portfolio_id):
|
||||
active_task_orders=active_task_orders,
|
||||
expired_task_orders=task_orders_by_status.get(TaskOrderStatus.EXPIRED, []),
|
||||
funding_end_date=funding_end_date,
|
||||
funded=funded,
|
||||
total_balance=total_balance,
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user