dev/financial#86 Make 'Record Payment' & 'Record Refund' visible regardless of whether the balance 'requires' one #18417
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.
Overview
This was agreed about a year ago - might as well do it
Before
No way to record an overpayment or unintended refund in the UI
After
Note the Contribution status is not altered if a contribution is overpaid - adding a payment <> changing the amount that we expected to be paid, it just means you can enter it. I am not sure if adding a refund (e.g bounced check) changes to 'Partially refunded' or even if it should - but those things are not specific to this change but rather to how Payment.create action works
Technical Details
I've kept this to the one place for now - if it gets complicated I'lll punt it again but it looked easy when I saw the gitlab (looking for something else)
Comments
Let's merge this based on an emoji poll - I'm sure there are other things we could do but I'm not that motivated so I'd like to either merge or close this (& if closed return to gitlab). I don't mind looking at follow up changes on how Payment.create should act (there may already be existing gitlabs)