From ce004da66dbdc852ab24aa598edabfe1d326147c Mon Sep 17 00:00:00 2001 From: Moritz Bunkus Date: Tue, 30 Apr 2013 14:38:49 +0200 Subject: [PATCH] Kosmetik --- SL/DB/PurchaseInvoice.pm | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) 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; -- 2.20.1