CampaignFinance icon indicating copy to clipboard operation
CampaignFinance copied to clipboard

Bug 182: exclude some transaction types from total funding

Open rajeshg opened this issue 4 years ago • 1 comments

Description

Changed query to calculate Total funding. We now exclude Interest and substract the refund amount. Closes https://github.com/ncopenpass/CampaignFinance/issues/182

Why?

The Total Funding Field on the candidate page is calculated without accounting for transaction types. For example, it counts refunds and individual contributions. From what I can tell, this is not the behavior we want.

GitHub Issue

https://github.com/ncopenpass/CampaignFinance/issues/182

Testing Steps

Before and After Screenshots (if applicable)

rajeshg avatar Oct 21 '21 16:10 rajeshg

@SchaeStewart can you review this?

rajeshg avatar Nov 09 '21 23:11 rajeshg