From: Moritz Bunkus Date: Tue, 30 Apr 2013 12:38:49 +0000 (+0200) Subject: Kosmetik X-Git-Tag: release-3.1.0beta1~443 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=ce004da66dbdc852ab24aa598edabfe1d326147c;p=kivitendo-erp.git Kosmetik --- diff --git a/SL/DB/PurchaseInvoice.pm b/SL/DB/PurchaseInvoice.pm index ec9090cab..42285335a 100644 --- a/SL/DB/PurchaseInvoice.pm +++ b/SL/DB/PurchaseInvoice.pm @@ -10,12 +10,14 @@ 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', - column_map => { id => 'trans_id' }, - manager_args => { with_objects => [ 'part' ] } - }, - ); +__PACKAGE__->meta->add_relationship( + invoiceitems => { + type => 'one to many', + class => 'SL::DB::InvoiceItem', + column_map => { id => 'trans_id' }, + manager_args => { with_objects => [ 'part' ] } + }, +); __PACKAGE__->meta->initialize;