openspp-modules icon indicating copy to clipboard operation
openspp-modules copied to clipboard

Develop the Donor Management Module

Open gonzalesedwin1123 opened this issue 8 months ago • 2 comments

Why is this change needed?

To develop a comprehensive Donor Management module within OpenSPP that facilitates the efficient tracking, management, and reporting of donor contributions—both financial and in-kind—thereby enhancing transparency, accountability, and engagement between donors and registrants.

How was the change implemented?

A new module: spp_registry_donor was created to support the requirements of this task.

New unit tests

  • TestDonorRegistry::test_01_donor_creation
  • TestDonorRegistry::test_02_donor_user_access
  • TestDonorRegistry::test_03_donor_manager_access
  • TestDonorRegistry::test_04_action_window

Unit tests executed by the author

  • TestDonorRegistry::test_01_donor_creation
  • TestDonorRegistry::test_02_donor_user_access
  • TestDonorRegistry::test_03_donor_manager_access
  • TestDonorRegistry::test_04_action_window

How to test manually

  • Login as administrator
  • Create a new user and add the role "Donor User" or "Donor Manager".
  • Login as a donor user or manager.
  • In the "Registry" menu click "Donor".
  • Create or edit a donor.

Related links

#804

gonzalesedwin1123 avatar May 13 '25 06:05 gonzalesedwin1123

Codecov Report

:x: Patch coverage is 97.95918% with 1 line in your changes missing coverage. Please review. :white_check_mark: Project coverage is 76.18%. Comparing base (b5f51b9) to head (141c2f9). :warning: Report is 60 commits behind head on 17.0.

Files with missing lines Patch % Lines
spp_registry_donor/tests/test_donor.py 97.61% 0 Missing and 1 partial :warning:
Additional details and impacted files
@@            Coverage Diff             @@
##             17.0     #807      +/-   ##
==========================================
+ Coverage   75.68%   76.18%   +0.50%     
==========================================
  Files         764      771       +7     
  Lines       20218    20355     +137     
  Branches     2501     2509       +8     
==========================================
+ Hits        15302    15508     +206     
+ Misses       4381     4297      -84     
- Partials      535      550      +15     

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

:rocket: New features to boost your workflow:
  • :snowflake: Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • :package: JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

codecov[bot] avatar May 13 '25 09:05 codecov[bot]

There hasn't been any activity on this pull request in the past 4 months, so it has been marked as stale and it will be closed automatically if no further activity occurs in the next 30 days. If you want this PR to never become stale, please ask a PSC member to apply the "no stale" label.

github-actions[bot] avatar Sep 14 '25 12:09 github-actions[bot]