From b5f9263345b39ef9496f23f11ce119de31db3c6a Mon Sep 17 00:00:00 2001 From: Kyle M Hall Date: Fri, 28 Oct 2016 15:06:47 +0000 Subject: [PATCH] Bug 13321 / 13323 - Update Schema Signed-off-by: Kyle M Hall --- Koha/Schema/Result/Aqorder.pm | 44 ++++++++++++++++++++++++++++++----- 1 file changed, 38 insertions(+), 6 deletions(-) diff --git a/Koha/Schema/Result/Aqorder.pm b/Koha/Schema/Result/Aqorder.pm index b96d5f9523..af849d7882 100644 --- a/Koha/Schema/Result/Aqorder.pm +++ b/Koha/Schema/Result/Aqorder.pm @@ -176,18 +176,42 @@ __PACKAGE__->table("aqorders"); is_nullable: 1 size: [28,6] -=head2 tax_rate +=head2 tax_rate_bak data_type: 'decimal' is_nullable: 1 size: [6,4] -=head2 tax_value +=head2 tax_rate_on_ordering data_type: 'decimal' is_nullable: 1 size: [6,4] +=head2 tax_rate_on_receiving + + data_type: 'decimal' + is_nullable: 1 + size: [6,4] + +=head2 tax_value_bak + + data_type: 'decimal' + is_nullable: 1 + size: [28,6] + +=head2 tax_value_on_ordering + + data_type: 'decimal' + is_nullable: 1 + size: [28,6] + +=head2 tax_value_on_receiving + + data_type: 'decimal' + is_nullable: 1 + size: [28,6] + =head2 discount data_type: 'float' @@ -348,10 +372,18 @@ __PACKAGE__->add_columns( { data_type => "decimal", is_nullable => 1, size => [28, 6] }, "ecost_tax_included", { data_type => "decimal", is_nullable => 1, size => [28, 6] }, - "tax_rate", + "tax_rate_bak", + { data_type => "decimal", is_nullable => 1, size => [6, 4] }, + "tax_rate_on_ordering", { data_type => "decimal", is_nullable => 1, size => [6, 4] }, - "tax_value", + "tax_rate_on_receiving", { data_type => "decimal", is_nullable => 1, size => [6, 4] }, + "tax_value_bak", + { data_type => "decimal", is_nullable => 1, size => [28, 6] }, + "tax_value_on_ordering", + { data_type => "decimal", is_nullable => 1, size => [28, 6] }, + "tax_value_on_receiving", + { data_type => "decimal", is_nullable => 1, size => [28, 6] }, "discount", { data_type => "float", is_nullable => 1, size => [6, 4] }, "budget_id", @@ -593,8 +625,8 @@ Composing rels: L -> borrowernumber __PACKAGE__->many_to_many("borrowernumbers", "aqorder_users", "borrowernumber"); -# Created by DBIx::Class::Schema::Loader v0.07042 @ 2016-09-09 13:43:30 -# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:R2a+DkXI1AaEVnpb1YKu5Q +# Created by DBIx::Class::Schema::Loader v0.07042 @ 2016-10-28 15:05:37 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:FyZsBWGJ8wsPkFdYUAetmg # You can replace this text with custom code or comments, and it will be preserved on regeneration -- 2.39.5