Fix e-notices in contribution_offline_receipt text by removing always-empty field #26599
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
Fix e-notices in contribution_offline_receipt text by removing always-empty field
Before
offline receipt template has a place for the receipt_text field from the form - but there is no receipt text field on the form - this is e-noticey
After
poof
Technical Details
On looking to fix this enotice through the form it turned out the contribution form does not have a field for this - so the formValues will never hold receipt_text.
Hence this PR removes it from the template.
Other forms do seem to have this & I will separately add userText or similar to the model
Comments