Added clearing for the "Receipt" field when the "Submit Donation" button is pressed. Fixed by setting the receipt field to '' on a successful submission.
Relevant issue(s)
hack4impact-utk/Maintenance-Team#46
Questions
I noticed this issue was rated as a 2 even though I think it's just a 1 line fix, so just wanted to make sure I wasn't missing anything. I tested to ensure that the Receipt field is cleared both when manually typed and when auto-generated, and then verified the data to make sure that the Receipt # being entered into the DB was correct.
Type of change
[x] Bug fix (non-breaking change which fixes an issue)
Checklist:
[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my code
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have made corresponding changes to the documentation
[x] My changes generate no new warnings
[x] I have added tests that prove my fix is effective or that my feature works
Description
Added clearing for the "Receipt" field when the "Submit Donation" button is pressed. Fixed by setting the receipt field to '' on a successful submission.
Relevant issue(s)
Questions
I noticed this issue was rated as a 2 even though I think it's just a 1 line fix, so just wanted to make sure I wasn't missing anything. I tested to ensure that the Receipt field is cleared both when manually typed and when auto-generated, and then verified the data to make sure that the Receipt # being entered into the DB was correct.
Type of change
Checklist: