Kosmetik
authorMoritz Bunkus <m.bunkus@linet-services.de>
Tue, 30 Apr 2013 12:38:49 +0000 (14:38 +0200)
committerMoritz Bunkus <m.bunkus@linet-services.de>
Tue, 30 Apr 2013 15:21:01 +0000 (17:21 +0200)
SL/DB/PurchaseInvoice.pm

index ec9090c..4228533 100644 (file)
@@ -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;