[Koha-bugs] [Bug 18723] Dot not recognized as decimal separator on receive
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Wed Oct 3 16:18:56 CEST 2018
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=18723
--- Comment #10 from Josef Moravec <josef.moravec at gmail.com> ---
Created attachment 79892
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=79892&action=edit
Bug 18723: Do not unformat price
Test plan:
a) Replicate the issue:
0- Set CurrencyFormat to FR
1- Go to Acquisitions
2- Search for a Vendor
3- Click on "New basket"
4- Give basket a name and click "Save"
5- Click on "Add to basket"
6- Add an order through preferred method
7- In Accounting details, enter a vendor price with dot decimal (i.e.
19.44)
8- Save your order line
9- Click on "Close this basket"
10- Confirm closing of basket by clicking on "Yes, close"
11- Click on "Receive shipment"
12- Enter an invoice number and click "Next"
13- Click on "Receive" to the right of your order
14- In Accounting details, notice the Actual cost is written with a decimal
dot.
15- Change the Actual cost, using a dot decimal (i.e. 20.99)
16- Receive the order
17- Click on "Save"
18- In "Already received" notice the price is multiplied by 100 (i.e.
2099,00)
19- Click on "Cancel receipt"
20- Click on "Receive" to the right of your order
21- In Accounting details, change the Actual cost, using a comma decimal
(i.e. 20,99)
22- Receive the order
23- Click on "Save"
24- In "Already received", notice the price is correct.
b) apply the patch
c) try again, should be fixe now
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list