From: Moritz Bunkus Date: Mon, 22 Nov 2010 16:38:00 +0000 (+0100) Subject: Weitere Modelvernüpfungen X-Git-Tag: release-2.6.3~61^2~7^2~1^2~2^2~17 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=9831db07d9a6ef43c038c9f5c93a4809f1c5c68b;p=kivitendo-erp.git Weitere Modelvernüpfungen --- diff --git a/SL/DB/Invoice.pm b/SL/DB/Invoice.pm index 25393c6bc..fcace5981 100644 --- a/SL/DB/Invoice.pm +++ b/SL/DB/Invoice.pm @@ -53,6 +53,11 @@ __PACKAGE__->meta->add_relationship( class => 'SL::DB::Language', column_map => { language_id => 'id' }, }, + employee => { + type => 'one to one', + class => 'SL::DB::Employee', + column_map => { employee_id => 'id' }, + }, ); __PACKAGE__->meta->initialize;