Bug 18491

Summary: finishreceive may record unitprice incorrectly
Product: Koha Reporter: Colin Campbell <colin.campbell>
Component: AcquisitionsAssignee: Colin Campbell <colin.campbell>
Status: RESOLVED DUPLICATE QA Contact: Testopia <testopia>
Severity: enhancement    
Priority: P5 - low CC: nick
Version: Main   
Hardware: All   
OS: All   
Change sponsored?: --- Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Attachments: proposed patch

Description Colin Campbell 2017-04-25 11:06:31 UTC
unitprice is passed to finishreceive.pl in display format. This poses no problem in most cases but if the unitprice is greater than or equal to 1,000 the separator causes the amount to be truncated and sored that way in the order and item. So e.g. if the unitprice is 3,600.50 that is saved as 3.00 - seriously distorting the information
Comment 1 Nick Clemens (kidclamp) 2017-04-25 11:47:46 UTC

*** This bug has been marked as a duplicate of bug 18471 ***
Comment 2 Colin Campbell 2017-04-25 12:29:19 UTC
Created attachment 62661 [details] [review]
proposed patch
Comment 3 Colin Campbell 2017-04-25 12:33:20 UTC
Yes duplicate - and 18471 als fixes the display caused by duplicate formatting in invoice.pl