Record donations in grams.
authorIain Patterson <me@iain.cx>
Wed, 10 Apr 2013 20:55:40 +0000 (16:55 -0400)
committerIain Patterson <me@iain.cx>
Wed, 10 Apr 2013 21:01:10 +0000 (17:01 -0400)
commit637bc9bc7d65b625a322385b5700bfc169f877c0
tree06de6640ce1ce838fb2fba09d7a32be4cac9791e
parentd11f3b9f2da834281ab505d371d4b23bae80251a
Record donations in grams.

Donations are entered as kilograms to two decimal places but are stored
internally as integers.
Convert the donation to grams so we can save an integer value to the
database.
lib/donation.php
lib/functions.php
lib/order.php