Bug 19521 - Partial fine payment is not working with comma decimal separator
Summary: Partial fine payment is not working with comma decimal separator
Status: RESOLVED FIXED
Alias: None
Product: Koha
Classification: Unclassified
Component: Circulation (show other bugs)
Version: 16.11
Hardware: All All
: P3 major (vote)
Assignee: Victor Grousset/tuxayo
QA Contact: Testopia
URL:
Keywords:
: 17462 (view as bug list)
Depends on: 21507
Blocks:
  Show dependency treegraph
 
Reported: 2017-10-24 09:28 UTC by Koha Team University Lyon 3
Modified: 2023-09-30 21:02 UTC (History)
9 users (show)

See Also:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:


Attachments
Bug 19521 Partial fine payment not working with comma decimal separator (1.01 KB, patch)
2017-10-24 09:36 UTC, Koha Team University Lyon 3
Details | Diff | Splinter Review

Note You need to log in before you can comment on or make changes to this bug.
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.