Skip to content
This repository has been archived by the owner on Feb 8, 2018. It is now read-only.

make a page for manual payouts #53

Closed
chadwhitacre opened this issue Jun 14, 2012 · 5 comments
Closed

make a page for manual payouts #53

chadwhitacre opened this issue Jun 14, 2012 · 5 comments

Comments

@chadwhitacre
Copy link
Contributor

Low-hanging fruit before #22 is a page to update a participant's balance based on manual payouts.

@chadwhitacre
Copy link
Contributor Author

I updated @steveklabnik's balance in the db before gittip #2 this morning.

INSERT INTO exchanges (amount, fee, participant_id) VALUES (-1.50, 0, 'steveklabnik');
UPDATE participants SET balance = balance - 1.50 WHERE id='steveklabnik';

That's what we need in the manual payout page.

@chadwhitacre
Copy link
Contributor Author

Ice-boxing this. Let's get to #22 sooner rather than later.

@chadwhitacre
Copy link
Contributor Author

Just did another one of these, for jnoller.

https://twitter.com/whit537/status/223077883554430977

@chadwhitacre
Copy link
Contributor Author

This could go on the history page.

@chadwhitacre
Copy link
Contributor Author

I made another $1 payment to @steveklabnik during Steel City Ruby Conf.

Now that we've automated withdrawals some of the pressure is off, but we do need to get something set up for international payouts.

This was referenced Nov 29, 2012
chadwhitacre added a commit that referenced this issue Mar 5, 2013
Sometimes we do manual payouts (maybe payins someday?) and we need a way
to record those in the database so we don't have to keep doing them
directly in SQL(!). This adds a form to the history page for site admins
to use. It extends the exchanges schema to keep track of who made manual
adjustments and why.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant