Bug 5091

Summary: When editing budget, commas appear in total, causing error upon saving
Product: Koha Reporter: kathy.lowry
Component: AcquisitionsAssignee: Henri-Damien LAURENT <henridamien>
Status: CLOSED DUPLICATE QA Contact: Bugs List <koha-bugs>
Severity: enhancement    
Priority: P5 - low CC: kathy.lowry, robin
Version: rel_3_0   
Hardware: All   
OS: All   
Change sponsored?: --- Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:

Description kathy.lowry 2010-08-05 02:36:50 UTC
1) I created a budget, giving it a total amount available of 20000 (no separators).

2) I saved the budget and was redirected to the budgets admin page. 

3) From there I found my new budget and hit edit. 

4) The total amount for my budget now displayed as 20,000.00 - note comma and full stop.

5) I changed the to date, then hit save, and got a popup that said:

'Form not submitted because of the following problem(s)
-------------------------------------------------------
 - Amount must be a valid number, or empty'

6) I clicked ok on the popup, changed the total amount back to 20000 and saved the record successfully.
Comment 1 Katrin Fischer 2010-08-05 05:02:41 UTC

*** This bug has been marked as a duplicate of bug 4500 ***