Bug 19521

Summary: Partial fine payment is not working with comma decimal separator
Product: Koha Reporter: Koha Team University Lyon 3 <koha>
Component: CirculationAssignee: Victor Grousset/tuxayo <victor>
Status: RESOLVED FIXED QA Contact: Testopia <testopia>
Severity: major    
Priority: P3 CC: claire_gravely, fridolin.somers, gmcharlt, koha, kyle.m.hall, martin.renvoize, pasi.kallinen, severine.queune, victor
Version: 16.11   
Hardware: All   
OS: All   
See Also: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=18723
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=12310
Change sponsored?: --- Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Bug Depends on: 21507    
Bug Blocks:    
Attachments: Bug 19521 Partial fine payment not working with comma decimal separator

Description Koha Team University Lyon 3 2017-10-24 09:28:25 UTC
When using comma as decimal separator, if you modify the sum to pay in the "Collect from patron" field, the sum is wrongly converted.
say you have 15,50 € as initial amount
you modify to pay only 5,50 € and you get 550.00 €.
Then of course, you get an alert saying that the sum must be equal or inferior to initial one.
Comment 1 Koha Team University Lyon 3 2017-10-24 09:36:54 UTC
Created attachment 68455 [details] [review]
Bug 19521 Partial fine payment not working with comma decimal separator
Comment 2 Fridolin Somers 2017-10-24 12:32:02 UTC
Be careful that display depends on syspref CurrencyFormat
Comment 3 Fridolin Somers 2017-10-24 12:32:57 UTC
Duplicate of Bug 18723 ?
Comment 4 Fridolin Somers 2017-10-24 12:35:41 UTC
Ah more duplicate of Bug 18471 ?
Comment 5 Koha Team University Lyon 3 2017-10-24 14:19:43 UTC
Just to point out that this behaviour occured with CurrencyFormat syspref positioned on FR option (360 000,00)
Comment 6 Séverine Queune 2017-10-25 14:32:04 UTC
(In reply to Fridolin SOMERS from comment #3)
> Duplicate of Bug 18723 ?

It is!
We don't use the fee feature so I didn't notice it occurred in an other module than Acquisitions.
Comment 7 Fridolin Somers 2017-11-16 16:11:58 UTC
(In reply to Séverine Queune from comment #6)
> (In reply to Fridolin SOMERS from comment #3)
> > Duplicate of Bug 18723 ?
> 
> It is!
> We don't use the fee feature so I didn't notice it occurred in an other
> module than Acquisitions.

Koha Team Lyon 3 are you ok ?
If yes mark as Duplicate.
Comment 8 Koha Team University Lyon 3 2017-11-21 16:07:28 UTC
Hello,
I wonder if this problem wouldn't be fixed by BZ12310.
Perhaps, we should work on BZ12310 that solve more than this problem.
Sonia
Comment 9 Victor Grousset/tuxayo 2018-03-13 15:45:58 UTC
*** Bug 17462 has been marked as a duplicate of this bug. ***
Comment 10 Katrin Fischer 2023-09-30 21:02:03 UTC
When paying a fine the entered amount is automatically converted to decimal dot.