Repository navigation
Footfall & Contribution Details: CSV imports, cancellations and other payment methods (main) - #1837
Merged
Merged
Conversation
… other payment methods (main) Brings the camp and event contribution-total changes from dev (PR #1823) to main: - Camp and event totals and contributor counts now include CSV-imported contributions and come down when a contribution is cancelled or refunded; only Completed contributions are counted. - New "Total Other Monetary Contributions" total for camps and events: any payment method that is not Razorpay or Cash/Cheque. - Event online/cash totals are recalculated from all Completed contributions instead of being added to on every save. - Event material footfall counts the newest material donor. - New cli/backfill-collection-source-contribution-stats.php to correct existing camp records (dry run by default). Refs coloredcow-admin/goonj-crm#392 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the ⚙️ Run configuration
You can disable this status message by setting the Use the checkbox below for a quick retry:
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Production release of ColoredCow/goonj#1823 (merged to
devon 14-Oct, tested on staging).Refs ColoredCow/goonj-crm#392
What's in it
The same 3 files as on
dev, byte for byte. These are the only differences betweenmainanddevfor these files.CollectionBaseService.php): Footfall & Contribution Details totals and contributor counts now include CSV-imported contributions and come down when a contribution is cancelled or refunded. Anything paid by a method other than Razorpay or Cash/Cheque goes into the new Total Other Monetary Contributions field.GoonjInitiatedEventsService.php):cli/backfill-collection-source-contribution-stats.phpcorrects existing camp records. It is a dry run by default, andAPPLY=1saves.Before merging (manual, on prod)
Both must end up named
Total_Other_Monetary_Contributions. Without them the totals update fails.After merging
APPLY=1.🤖 Generated with Claude Code