]> wagnertech.de Git - mfinanz.git/blobdiff - SL/DB/Order.pm
Verknüpfung zu PaymentTerm-Model
[mfinanz.git] / 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;