X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=SL%2FDB%2FMetaSetup%2FGLTransaction.pm;h=3b829d54d516c02ba24a9e5931a872b5228a9790;hb=4f43ec85816b8f5c9031ff35adfa9e0d33c4306f;hp=33f7121fd8ded3f83b9a20fcf14a8dc8eaf07149;hpb=3eb3d1b144adb92e62de08e67dc6ff3d39bf7483;p=kivitendo-erp.git 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' },