val amount = C.realFromSql amount
val perMonth = 900.0 * real shares / real totalShares
- val deposit = perMonth * 3.0
- val headsUp = perMonth * 5.0
+ val deposit = 900.0 / real totalShares * 3.0
+ val headsUp = deposit + perMonth * 2.0
in
if amount >= headsUp then
()
write (printReal (headsUp - amount));
write "\n\nYour deposit requirement was calculated by dividing our total monthly expenses\n";
- write "($900) by the sum of all members' pledge amounts, multiplying by your pledge amount,\n";
- write "and then multiplying by 3. That is, the amount covers your share of three months'\n";
- write "expenses.\n\n";
+ write "($900) by the sum of all members' pledge amounts and then multiplying by 3. That\n";
+ write "is, the amount covers a minimal share of three months' expenses.\n\n";
write "To make a payment, visit:\n";
write " https://members.hcoop.net/\n";
write "\nIf for whatever reason you don't plan to pay the amount suggested in this e-mail,\n";
write "_please_ don't stay silent. Reply to this message explaining your circumstances.\n";
- write "We are doing limited-time monetary grants on request, due to the extra costs\n";
- write "associated with setting up our new servers.\n";
ignore (Mail.mclose m)
end