Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make "Misc Donation" an editable field #75

Open
armahillo opened this issue Aug 7, 2016 · 0 comments
Open

Make "Misc Donation" an editable field #75

armahillo opened this issue Aug 7, 2016 · 0 comments
Milestone

Comments

@armahillo
Copy link
Collaborator

In #70 , @seanmarcia suggested ( #70 (comment) )

Maybe we should make it part of the Mark 2 stretch goal of making it an editable field.

Current function is that it's a single drop-down list, populated from an array of Strings, found in /app/models/donation.rb.

This would need to probably refactor sources to be a separate model (so that "other" is an option) or it could add an additional "misc_comment" column to the donations table. Would probably want to override the accessor/mutator for the source field to accommodate the "Misc Donation" data? (like, when it's reading that field, if it says "Misc Donation" as the source, it concatenates the "misc_comment" field to the end, and when it's assigned, it splits that apart.)

@armahillo armahillo added this to the mark 2 milestone Aug 7, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant