Bug 13321: Fix unitprice rounding
authorJonathan Druart <jonathan.druart@biblibre.com>
Tue, 13 Jan 2015 16:03:04 +0000 (17:03 +0100)
committerKyle M Hall <kyle@bywatersolutions.com>
Fri, 28 Oct 2016 13:46:08 +0000 (13:46 +0000)
commit8f5ee4c91dba7f2c05a574e2e3639a5eeb86ddc6
treeae11bcba45085abe134d57d94b303ff493ed6ce0
parent1c1e6b11f7d09efb18b5f26a5bf45b64bbbfbe18
Bug 13321: Fix unitprice rounding

We need to display the rounded value, but insert the exact value.
The unit price can be change on receiving, so the input value can be
modified.
But if it's not, we must insert the exact (not rounded) unit price,
which is the ecost value.

Signed-off-by: Laurence Rault <laurence.rault@biblibre.com>
Signed-off-by: Francois Charbonnier <francois.charbonnier@inlibro.com>
Signed-off-by: Sonia Bouis <sonia.bouis@univ-lyon3.fr>
Signed-off-by: Sonia Bouis <koha@univ-lyon3.fr>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
C4/Acquisition.pm