foodsoft/app
Benjamin Meichsner 91bcf0c580 Avoid out of range error when using big numbers in financial transactions.
The database schema allows numbers up (+/-) 999_999.99. But as we are also adding the amount to the Ordergroup#account_balance, we use lower barriers to avoid running in errors when updating the account balance.

So, technically the user has to make 10 times the maximum input to raise an account balance error. This should be sufficient, I hope.
2014-09-22 11:36:10 +02:00
..
assets add foodcoop configuration screen 2014-09-02 14:21:32 +02:00
controllers fix articles with zero quantity showing 2014-09-11 13:47:03 +02:00
documents order articles by number then name in fax+receive 2014-08-19 09:19:01 +02:00
helpers be more robust showing config list 2014-09-22 09:38:23 +02:00
inputs validate date and time inputs 2014-06-23 17:51:18 +02:00
mailers more sensible mailer option defaults 2014-09-02 12:35:57 +02:00
models Avoid out of range error when using big numbers in financial transactions. 2014-09-22 11:36:10 +02:00
views add webstats_tracking_code to configuration screen (closes foodcoops#311) 2014-09-22 09:36:36 +02:00
workers use locale in mails 2014-05-13 17:01:28 +02:00