From e9fb6244fd93562c5789afd315df8f6be5e7901a Mon Sep 17 00:00:00 2001 From: Moritz Bunkus Date: Wed, 12 Jan 2011 16:16:55 +0100 Subject: [PATCH] Preis-/Betrags-/Steuerberechnung in Models einbinden Conflicts: SL/DB/Invoice.pm SL/DB/Order.pm SL/DB/PurchaseInvoice.pm --- SL/DB/Invoice.pm | 2 ++ SL/DB/Order.pm | 2 ++ SL/DB/PurchaseInvoice.pm | 2 ++ 3 files changed, 6 insertions(+) diff --git a/SL/DB/Invoice.pm b/SL/DB/Invoice.pm index cb366727e..c64cf9d1d 100644 --- a/SL/DB/Invoice.pm +++ b/SL/DB/Invoice.pm @@ -9,6 +9,8 @@ use List::Util qw(first); use SL::DB::MetaSetup::Invoice; use SL::DB::Manager::Invoice; +use SL::DB::Helper::LinkedRecords; +use SL::DB::Helper::PriceTaxCalculator; __PACKAGE__->meta->add_relationship( invoiceitems => { diff --git a/SL/DB/Order.pm b/SL/DB/Order.pm index 864da21ef..e84f8a2f3 100644 --- a/SL/DB/Order.pm +++ b/SL/DB/Order.pm @@ -8,6 +8,8 @@ use SL::RecordLinks; use SL::DB::MetaSetup::Order; use SL::DB::Manager::Order; use SL::DB::Invoice; +use SL::DB::Helper::LinkedRecords; +use SL::DB::Helper::PriceTaxCalculator; __PACKAGE__->meta->add_relationship( orderitems => { diff --git a/SL/DB/PurchaseInvoice.pm b/SL/DB/PurchaseInvoice.pm index b73066e20..95657d3b4 100644 --- a/SL/DB/PurchaseInvoice.pm +++ b/SL/DB/PurchaseInvoice.pm @@ -4,6 +4,8 @@ use strict; use SL::DB::MetaSetup::PurchaseInvoice; use SL::DB::Manager::PurchaseInvoice; +use SL::DB::Helper::LinkedRecords; +use SL::DB::Helper::PriceTaxCalculator; __PACKAGE__->meta->add_relationship(invoiceitems => { type => 'one to many', class => 'SL::DB::InvoiceItem', -- 2.20.1