[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
Thu Jan 17 21:59:16 CET 2019


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

Mackey Johnstone <mackeyfj at gmail.com> changed:

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

--- Comment #2 from Mackey Johnstone <mackeyfj at gmail.com> ---
Created attachment 84161
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=84161&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>

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


More information about the Koha-bugs mailing list