[Koha-bugs] [Bug 18471] Receiving order with unitprice greater than 1000 processing incorrectly

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Apr 21 16:23:49 CEST 2017


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

--- Comment #1 from Kyle M Hall <kyle at bywatersolutions.com> ---
Created attachment 62530
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=62530&action=edit
Bug 18471 - Receiving order with unitprice greater than 1000 processing
incorrectly

Receiving orders process the comma as a decimal point
Invoices are displaying incorrectly when formatting total

Test Plan:
1. Open a basket
2. Place an order for an item with price > 1000, $4367.00 for example
3. Close basket
4. Receive order
5. Note on orderreceive.pl the price is populate as "4,367.00"
6. Receive/Save
7. Note the 'Actual Cost' is now $4.00, verify db contains 4 as well
8. Cancel receipt
9. Receive again, this time enter price as "4367"
10. Receive/save
11. Note actual cost is correct
12. Finish receiving
13. Note invoice reads total as $4.00
14. Check db. price in aqorders is correct but displaying incorrectly
15. Apply this patch
16. Repeat step2 1. 14, note errors are fixed

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


More information about the Koha-bugs mailing list