projects
/
kivitendo-erp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'master', remote branch 'origin'
[kivitendo-erp.git]
/
SL
/
DB
/
PurchaseInvoice.pm
diff --git
a/SL/DB/PurchaseInvoice.pm
b/SL/DB/PurchaseInvoice.pm
index
a06a3b6
..
5123d68
100644
(file)
--- a/
SL/DB/PurchaseInvoice.pm
+++ b/
SL/DB/PurchaseInvoice.pm
@@
-4,6
+4,9
@@
use strict;
use SL::DB::MetaSetup::PurchaseInvoice;
use SL::DB::Manager::PurchaseInvoice;
use SL::DB::MetaSetup::PurchaseInvoice;
use SL::DB::Manager::PurchaseInvoice;
+use SL::DB::Helper::LinkedRecords;
+# The calculator hasn't been adjusted for purchase invoices yet.
+# use SL::DB::Helper::PriceTaxCalculator;
__PACKAGE__->meta->add_relationship(invoiceitems => { type => 'one to many',
class => 'SL::DB::InvoiceItem',
__PACKAGE__->meta->add_relationship(invoiceitems => { type => 'one to many',
class => 'SL::DB::InvoiceItem',
@@
-14,4
+17,6
@@
__PACKAGE__->meta->add_relationship(invoiceitems => { type => 'one to ma
__PACKAGE__->meta->initialize;
__PACKAGE__->meta->initialize;
+sub items { goto &invoiceitems; }
+
1;
1;