Bug 18491 - finishreceive may record unitprice incorrectly
Summary: finishreceive may record unitprice incorrectly
Status: RESOLVED DUPLICATE of bug 18471
Alias: None
Product: Koha
Classification: Unclassified
Component: Acquisitions (show other bugs)
Version: Main
Hardware: All All
: P5 - low enhancement (vote)
Assignee: Colin Campbell
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-04-25 11:06 UTC by Colin Campbell
Modified: 2017-04-25 12:33 UTC (History)
1 user (show)

See Also:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:


Attachments
proposed patch (1.28 KB, patch)
2017-04-25 12:29 UTC, Colin Campbell
Details | Diff | Splinter Review

Note You need to log in before you can comment on or make changes to this bug.
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 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