Bug 13323: Recalculate tax_value for partially received orders
authorJulian Maurice <julian.maurice@biblibre.com>
Thu, 13 Oct 2016 12:48:38 +0000 (14:48 +0200)
committerKyle M Hall <kyle@bywatersolutions.com>
Fri, 28 Oct 2016 13:46:42 +0000 (13:46 +0000)
commit0fe43b3ad1f797fa502bbeb967c5c76e57774d51
tree538556d1883c60a373f6c8021be1bfd9a97e1fe3
parentff45a15256a66352b1ab2d32b0cf0e9dc2a9a8ed
Bug 13323: Recalculate tax_value for partially received orders

Test plan:
1. Create an order with at least 2 items
2. Receive only 1 item
3. Check that the tax value of the received order line is correct on
   the parcel and invoice pages
4. Check that the tax value of the original order line is correct (on
   the basket page for example)
5. Cancel the receipt
6. Check that the tax value of the original order line is correct

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