[Koha-bugs] [Bug 18471] New: 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 15:15:28 CEST 2017


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

            Bug ID: 18471
           Summary: Receiving order with unitprice greater than 1000
                    processing incorrectly
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: major
          Priority: P5 - low
         Component: Acquisitions
          Assignee: koha-bugs at lists.koha-community.org
          Reporter: nick at bywatersolutions.com
        QA Contact: testopia at bugs.koha-community.org

Two problems here really:
Receiving orders process the comma as a decimal point
Invoices are displaying incorrectly when formatting total

To recreate:
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

-- 
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