Note: You can propose changes using the forum below.
Add the ability for users to donate money directly from their reserve to any of our supported charities (http://www.fossfactory.org/charities.php).
This feature should appear on the charities page only to logged-in users. It should be in a "folded" area labelled "Donate now from your reserve". The behaviour should be visually consistent with the "Sponsor this Project" folded area of the project page.
If (and only if) the user has multiple currencies in their account, the interface should provide a drop-down list of currencies. When they choose from the drop-down list, the text on the page should remind them of how much money of that currency is in their reserve. If the user only has one currency in their reserve the page should still show how much money is in their reserve. The interface for this form should never display converted currency values.
Upon submission of the form, there must be a confirmation pop-up that clearly summarizes the transaction.
This project is a little more rigidly specified than some of my past ones. But I'm always open to suggested design improvements.
A few relevant FOSS Factory coding standards:
- 4-space indentation, with tabs expanded as whitespace.
- All database operations must be encapsulated in db.php
- Database schema changes and other one-time database modifications must be added to the end of the file schema/structure, one query per line, and terminated by a version number update in the usual format.
- All financial transactions must be robustly logged in the transaction_log table.