From: Moritz Bunkus Date: Wed, 10 Nov 2010 15:54:14 +0000 (+0100) Subject: Verknüpfung zu PaymentTerm-Model X-Git-Tag: release-2.6.3~61^2~7^2~1^2~2^2~68 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=fc61a97499efd0bf3f22fc4d32026f07ae38b3c6;p=kivitendo-erp.git Verknüpfung zu PaymentTerm-Model --- diff --git a/SL/DB/Order.pm b/SL/DB/Order.pm index e84f8a2f3..267b91338 100644 --- a/SL/DB/Order.pm +++ b/SL/DB/Order.pm @@ -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;