X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/kivitendo-erp.git/blobdiff_plain/3eb3d1b144adb92e62de08e67dc6ff3d39bf7483..f63bc3db2b0dc62707d4fc75d882e68c06bbcec5:/SL/DB/MetaSetup/GLTransaction.pm?ds=sidebyside diff --git a/SL/DB/MetaSetup/GLTransaction.pm b/SL/DB/MetaSetup/GLTransaction.pm index 33f7121fd..3b829d54d 100644 --- a/SL/DB/MetaSetup/GLTransaction.pm +++ b/SL/DB/MetaSetup/GLTransaction.pm @@ -4,7 +4,7 @@ package SL::DB::GLTransaction; use strict; -use base qw(SL::DB::Object); +use parent qw(SL::DB::Object); __PACKAGE__->meta->table('gl'); @@ -37,6 +37,11 @@ __PACKAGE__->meta->foreign_keys( key_columns => { department_id => 'id' }, }, + employee => { + class => 'SL::DB::Employee', + key_columns => { employee_id => 'id' }, + }, + storno_obj => { class => 'SL::DB::GLTransaction', key_columns => { storno_id => 'id' },