NOTE: This is a technical subticket of T328075: Move tracking out of donation data blob
This report returns all anonymous donations, grouped by payment type.
Affected repositories
- Fundraising Operation Center
Implementation details
- Replace the DateRangeDonationFetcher with the DonationReportFetcher from T338511: Create DonationReportFetcher
- Replace the legacy payment fields with the ones from the payment table, for progress in the ticket T320781: Use new payment tables in Fundraising Operation Center
- Replace the isTrackedDonation with a check of adresstyp in the data blob.
- The tests should pass right away with the changes from T338509: Adapt donation fixtures for tests
NOTE: If the changes to storing the address data from T390611: Extract Donor data into tables have been done on the database side (FOC may still use legacy data), then this ticket should be done differently to avoid iterating over donations and just querying them instad. Either by modifying DonationFetcher to allow for address type querying or by creating a class similar to DonationFetcher that allows for address type querying.