X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/abe89aaca4356b4860f4623410e70f50b3c4d631..142ea3bff784ba29bd87de5615bb4f2aec8c977f:/SL/DB/MetaSetup/GLTransaction.pm diff --git a/SL/DB/MetaSetup/GLTransaction.pm b/SL/DB/MetaSetup/GLTransaction.pm index db03441b6..4d0e41b13 100644 --- a/SL/DB/MetaSetup/GLTransaction.pm +++ b/SL/DB/MetaSetup/GLTransaction.pm @@ -4,12 +4,13 @@ package SL::DB::GLTransaction; use strict; -use base qw(SL::DB::Object); +use parent qw(SL::DB::Object); __PACKAGE__->meta->table('gl'); __PACKAGE__->meta->columns( cb_transaction => { type => 'boolean' }, + deliverydate => { type => 'date' }, department_id => { type => 'integer' }, description => { type => 'text' }, employee_id => { type => 'integer' }, @@ -22,6 +23,7 @@ __PACKAGE__->meta->columns( reference => { type => 'text' }, storno => { type => 'boolean', default => 'false' }, storno_id => { type => 'integer' }, + tax_point => { type => 'date' }, taxincluded => { type => 'boolean' }, transdate => { type => 'date', default => 'now' }, type => { type => 'text' }, @@ -42,11 +44,6 @@ __PACKAGE__->meta->foreign_keys( key_columns => { employee_id => 'id' }, }, - employee_obj => { - class => 'SL::DB::Employee', - key_columns => { employee_id => 'id' }, - }, - storno_obj => { class => 'SL::DB::GLTransaction', key_columns => { storno_id => 'id' },