]> wagnertech.de Git - mfinanz.git/commitdiff
Verknüpfung zu PaymentTerm-Model
authorMoritz Bunkus <m.bunkus@linet-services.de>
Wed, 10 Nov 2010 15:54:14 +0000 (16:54 +0100)
committerMoritz Bunkus <m.bunkus@linet-services.de>
Wed, 12 Jan 2011 15:18:29 +0000 (16:18 +0100)
SL/DB/Order.pm

index e84f8a2f3ac1ae8ea77370e1f546b296ada2b046..267b913383b87134a487b6d0fb1b07ba210a5b9b 100644 (file)
@@ -30,6 +30,11 @@ __PACKAGE__->meta->add_relationship(
     class                  => 'SL::DB::PeriodicInvoice',
     column_map             => { id => 'oe_id' },
   },
+  payment_term => {
+    type       => 'one to one',
+    class      => 'SL::DB::PaymentTerm',
+    column_map => { payment_id => 'id' },
+  },
 );
 
 __PACKAGE__->meta->initialize;