X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=SL%2FDB%2FMetaSetup%2FPaymentTerm.pm;h=eb7647113be905b559638ca33cc6618cc7bf0c36;hb=b55d5bb480a23e57c9d927d330465b36cff10b53;hp=7dd067f6b098cb115484ccbcb3486ddd3b7932f2;hpb=a3511b2d8974c72e4d26b2d85c5cf1cd711ccb6f;p=kivitendo-erp.git diff --git a/SL/DB/MetaSetup/PaymentTerm.pm b/SL/DB/MetaSetup/PaymentTerm.pm index 7dd067f6b..eb7647113 100644 --- a/SL/DB/MetaSetup/PaymentTerm.pm +++ b/SL/DB/MetaSetup/PaymentTerm.pm @@ -4,21 +4,24 @@ package SL::DB::PaymentTerm; use strict; -use base qw(SL::DB::Object); +use parent qw(SL::DB::Object); __PACKAGE__->meta->table('payment_terms'); __PACKAGE__->meta->columns( - description => { type => 'text' }, - description_long => { type => 'text' }, - id => { type => 'integer', not_null => 1, sequence => 'id' }, - itime => { type => 'timestamp', default => 'now()' }, - mtime => { type => 'timestamp' }, - percent_skonto => { type => 'float', scale => 4 }, - ranking => { type => 'integer' }, - sortkey => { type => 'integer', not_null => 1 }, - terms_netto => { type => 'integer' }, - terms_skonto => { type => 'integer' }, + auto_calculation => { type => 'boolean', not_null => 1 }, + description => { type => 'text' }, + description_long => { type => 'text' }, + description_long_invoice => { type => 'text' }, + id => { type => 'integer', not_null => 1, sequence => 'id' }, + itime => { type => 'timestamp', default => 'now()' }, + mtime => { type => 'timestamp' }, + obsolete => { type => 'boolean', default => 'false' }, + percent_skonto => { type => 'float', scale => 4 }, + ranking => { type => 'integer' }, + sortkey => { type => 'integer', not_null => 1 }, + terms_netto => { type => 'integer' }, + terms_skonto => { type => 'integer' }, ); __PACKAGE__->meta->primary_key_columns([ 'id' ]);