Description
We need to change the Total Amount Spent modal because it only accounts for two Index Codes (cash and budget), but there could be more.
Acceptance Criteria
Modal now accounts for index codes other than or including cash and budget
Proposed Solution
use the getAllIndexCodes hook to get all the index codes and filter by each index code
Mocks
No response
Description
We need to change the Total Amount Spent modal because it only accounts for two Index Codes (cash and budget), but there could be more.
Acceptance Criteria
Modal now accounts for index codes other than or including cash and budget
Proposed Solution
use the getAllIndexCodes hook to get all the index codes and filter by each index code
Mocks
No response