Bug 10613: calculate the GST rate correctly on the invoice page.
authorJonathan Druart <jonathan.druart@biblibre.com>
Fri, 19 Jul 2013 09:44:51 +0000 (11:44 +0200)
committerGalen Charlton <gmc@esilibrary.com>
Sun, 4 May 2014 19:22:30 +0000 (19:22 +0000)
commitb99df4f7620d741ec71630db361aeda2cd975339
treea7c45ff08e2dba886c8fd1cfbc4296c8fa63ddaf
parent13fe2e013d88945aaa372f0c394a2464ca986786
Bug 10613: calculate the GST rate correctly on the invoice page.

Test plan:
Defined a GST rate on creating an order, receive it and check that all
prices are correctly calculated.
/!\ Behavior change function of supplier parameters (Include/Don't
include tax for list prices and invoice prices)

Notes: patch tested with Bug 11755 applied first; confirmed that:
- price calculations are correct for all combinations of
  listincgst/invoiceincgst settings in the vendor record
- unitprice (aka "Actual cost") is taken into account on the
  invoice page instead of rrp/ecost, like it should.

Signed-off-by: Jacek Ablewicz <abl@biblos.pk.edu.pl>
Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
acqui/invoice.pl
koha-tmpl/intranet-tmpl/prog/en/modules/acqui/invoice.tt