[Koha-bugs] [Bug 12310] Decimal separators issues in patrons payments/fines

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon May 7 17:23:44 CEST 2018


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=12310

--- Comment #85 from Koha Team Lyon 3 <koha at univ-lyon3.fr> ---
Hello,
tested it again with different inputs (with dot, comma, symbol, names) in fines
patrons tab  (maninvoice.pl, mancredit.pl, paycollect.pl) and it works, even
for Write off :)
So for me it's OK.

I have just a little remark for a tricky case :
If you choose DecimalSeparators = , and in addition, you choose CurrencyFormat
= 360 000,00 (FR). I know that there's no direct relation with this patch, but
it's to explain the user experience : user can see comma on amount on "account"
and "pay fines" tabs.
When you choose to pay or to write off a fine, you arrive on paycollect.pl :
there, the amounts are displayed with a dot. If you don't change anything, the
dot is considered as a decimal separator. If you want to change the amount
without changing the separator which is already displayed, it will not be
consider. 
for example :
'500.00' is displayed
You change it on '1.00'
It will be transform in '100'

It's consistent with your DecimalSeparators syspref but quite confusing.

At least, it would be great to have on paycollect the same help we can find
mancredit ou maninvoice (Example: 5,12).
By the way, this help only figures the first character of the DecimalSeparators
syspref which is not completely right :
DecimalSeparators = .,
You will see : "Example: 5.12"

DecimalSeparators = ,.
You will see : "Example: 5,12"

But as it is, the patches handle the main issue, so I hope it could be in the
18.05 release !

Sonia

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list