---- Reported by katrin.fischer@bsz-bw.de 2010-05-13 20:31:06 ---- When editing a budget currency is formatted to show as '10,000.00'. The formatting prevents the form from saving - changing the format to 10000 manually can cause errors, for example if you forget to delete the .00 at the end. /cgi-bin/koha/admin/aqbudgetperiods.pl?op=add_form&budget_period_id=1 Tested with Koha 3.01.00.134 --- Bug imported by chris@bigballofwax.co.nz 2010-05-21 01:27 UTC --- This bug was previously known as _bug_ 4500 at http://bugs.koha.org/cgi-bin/bugzilla3/show_bug.cgi?id=4500 Actual time not defined. Setting to 0.0 Setting qa contact to the default for this product. This bug either had no qa contact or an invalid one.
Created attachment 2350 [details] screenshot Problem still exists in Koha Version 3.01.00.142. Added screenshot to show problem with currency formatting.
*** Bug 5091 has been marked as a duplicate of this bug. ***
Created attachment 2487 [details] [review] proposed patch This appears to be a locale-related thing, that showed up when running the webserver in an nl_NL environment, but not en_NZ. Probably why Katrin found it in a (I assume) de_DE locale, or similar. This patch should override the relevant locale-derived formatting.
I successfully tested Robin's patch on a current installation from HEAD (3.01.00.145). The amount is now correctly shown as 10000.00 and the form can be saved without any changes.
Robin's patch still applies and solves the problem. Signed-off and resent to list.
Pushed, please test
Successfully tested on current HEAD.