Bug 13321: Recalculate tax_value for partially received orders
authorJulian Maurice <julian.maurice@biblibre.com>
Mon, 5 Sep 2016 09:11:44 +0000 (11:11 +0200)
committerKyle M Hall <kyle@bywatersolutions.com>
Fri, 28 Oct 2016 13:46:10 +0000 (13:46 +0000)
commit1a05ec58cd42093dbb4706375069b12ec420be1a
tree6523b9628c02ec4c63e322555c447545392eecf5
parentb8872515ccb15a4519d9533da75383e3a234f2b3
Bug 13321: 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