[Koha-bugs] [Bug 22110] Editing adjustments doesn't work for Currencyformat != US

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Jan 18 21:51:50 CET 2019


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

Mikaël Olangcay Brisebois <mikael.olangcay-brisebois at inLibro.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #84161|0                           |1
        is obsolete|                            |

--- Comment #3 from Mikaël Olangcay Brisebois <mikael.olangcay-brisebois at inLibro.com> ---
Created attachment 84221
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=84221&action=edit
Bug 22110: Fix editing of adjustments for CurrencyFormat != US

When using CurrencyFormat FR or CH the editing an amount behave
badly. Example: changing displayed 1,00 to 1,11 would save as 1,00.

At the moment Koha only understands decimal dot, not comma.
So every time data is entered, we use decimal dot.

1) Add an adjustment to an invoice
2) Change system preference CurrencyFormat to FR or CH
3) Verify the amount displays with a decimal comma
4) Try changing the amount to something like 1,11
5) Save the amount
6) Verify it shows 1.00
7) Apply patch
8) Refresh the invoice page if necessary
9) Verify amount is now shown as 1.00
10) Repeat test, use 1.11
11) Verify it will be stored correctly.

Signed-off-by: Mackey Johnstone <mackeyfj at gmail.com>
Signed-off-by: Mikael Olangcay Brisebois
<mikael.olangcay-brisebois at inlibro.com>

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


More information about the Koha-bugs mailing list