-
Notifications
You must be signed in to change notification settings - Fork 0
DEV Active grants added to revenue list when fetched #392
Copy link
Copy link
Open
Description
Overview
Since grants are the main source of income for BCAN, grant sources should be included in the revenues section of the cashflow feature. In the future, we plan to support a smoother conversion of grants to revenues using installments, but for now each grant should have a single installment using the grant's start date as the installment date.
Tasks
- When revenues are fetched, all active grants should be appended to the revenue list, with their data mapped and truncated to fit the
CashflowRevenueobject type - Ensure only active grants are included — inactive grants should be ignored
- Add the mapped grants to the store's
CashflowRevenueslist with their revenue type set toGrant
Acceptance Criteria
- Active grants appear in the cashflow revenue list with all required fields correctly populated
- Each grant is represented as a single installment using the grant's start date as the installment date
- Inactive grants are not included in the revenue list
- Each grant entry has its revenue type set to
Grant
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels