X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=SL%2FDB%2FMetaSetup%2FGLTransaction.pm;h=a2cda636a6f58dc60533eb35a9369f5121a9a1a2;hb=b293ff8ad52fc76ba0c44783e3982418114d6b08;hp=db03441b62c5ac06c56093d26d7634c811e2b57e;hpb=abe89aaca4356b4860f4623410e70f50b3c4d631;p=kivitendo-erp.git diff --git a/SL/DB/MetaSetup/GLTransaction.pm b/SL/DB/MetaSetup/GLTransaction.pm index db03441b6..a2cda636a 100644 --- a/SL/DB/MetaSetup/GLTransaction.pm +++ b/SL/DB/MetaSetup/GLTransaction.pm @@ -4,27 +4,31 @@ 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' }, - department_id => { type => 'integer' }, - description => { type => 'text' }, - employee_id => { type => 'integer' }, - gldate => { type => 'date', default => 'now' }, - id => { type => 'integer', not_null => 1, sequence => 'glid' }, - itime => { type => 'timestamp', default => 'now()' }, - mtime => { type => 'timestamp' }, - notes => { type => 'text' }, - ob_transaction => { type => 'boolean' }, - reference => { type => 'text' }, - storno => { type => 'boolean', default => 'false' }, - storno_id => { type => 'integer' }, - taxincluded => { type => 'boolean' }, - transdate => { type => 'date', default => 'now' }, - type => { type => 'text' }, + cb_transaction => { type => 'boolean' }, + deliverydate => { type => 'date' }, + department_id => { type => 'integer' }, + description => { type => 'text' }, + employee_id => { type => 'integer' }, + gldate => { type => 'date', default => 'now' }, + id => { type => 'integer', not_null => 1, sequence => 'glid' }, + imported => { type => 'boolean', default => 'false' }, + itime => { type => 'timestamp', default => 'now()' }, + mtime => { type => 'timestamp' }, + notes => { type => 'text' }, + ob_transaction => { type => 'boolean' }, + reference => { type => 'text' }, + storno => { type => 'boolean', default => 'false' }, + storno_id => { type => 'integer' }, + tax_point => { type => 'date' }, + taxincluded => { type => 'boolean' }, + transaction_description => { type => 'text' }, + transdate => { type => 'date', default => 'now' }, + type => { type => 'text' }, ); __PACKAGE__->meta->primary_key_columns([ 'id' ]); @@ -42,11 +46,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' },