Bug 13321: Tax and prices calculation - DB Changes
commit43f93f2ee822194a215473ddd10d01489cccc7cb
authorJonathan Druart <jonathan.druart@biblibre.com>
Wed, 19 Nov 2014 15:52:01 +0000 (19 16:52 +0100)
committerKyle M Hall <kyle@bywatersolutions.com>
Fri, 28 Oct 2016 13:46:07 +0000 (28 13:46 +0000)
treec3aac70d019f72a18cf1e63739570abf8310bb05
parent7e89301ab2eca57aa13256f9ed4c8351834476e3
Bug 13321: Tax and prices calculation - DB Changes

This patch adds 7 columns to the aqorders table:
 * unitprice_tax_excluded
 * unitprice_tax_included
 * rrp_tax_excluded
 * rrp_tax_included
 * ecost_tax_excluded
 * ecost_tax_included
 * tax_value

It also renames:
 * aqorders.gstrate with aqorders.tax_rate
 * aqbooksellers.gstrate with aqbooksellers.tax_rate

The new columns are filled with the previous calculation method.

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>
installer/data/mysql/atomicupdate/bug_13321.perl [new file with mode: 0644]
installer/data/mysql/kohastructure.sql