X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/f4608acc141bdbea824fd3ccadeacf130bf78276..c6dd542b51ae9549ad42a54f9023b905412bbab9:/SL/DB/MetaSetup/PeriodicInvoicesConfig.pm?ds=inline diff --git a/SL/DB/MetaSetup/PeriodicInvoicesConfig.pm b/SL/DB/MetaSetup/PeriodicInvoicesConfig.pm index 13f1814aa..0c0545384 100644 --- a/SL/DB/MetaSetup/PeriodicInvoicesConfig.pm +++ b/SL/DB/MetaSetup/PeriodicInvoicesConfig.pm @@ -4,23 +4,26 @@ package SL::DB::PeriodicInvoicesConfig; use strict; -use base qw(SL::DB::Object); +use parent qw(SL::DB::Object); __PACKAGE__->meta->table('periodic_invoices_configs'); __PACKAGE__->meta->columns( + active => { type => 'boolean', default => 'true' }, + ar_chart_id => { type => 'integer', not_null => 1 }, + copies => { type => 'integer' }, + direct_debit => { type => 'boolean', default => 'false', not_null => 1 }, + end_date => { type => 'date' }, + extend_automatically_by => { type => 'integer' }, + first_billing_date => { type => 'date' }, id => { type => 'integer', not_null => 1, sequence => 'id' }, oe_id => { type => 'integer', not_null => 1 }, - periodicity => { type => 'varchar', length => 10, not_null => 1 }, + order_value_periodicity => { type => 'varchar', length => 1, not_null => 1 }, + periodicity => { type => 'varchar', length => 1, not_null => 1 }, print => { type => 'boolean', default => 'false' }, printer_id => { type => 'integer' }, - copies => { type => 'integer' }, - active => { type => 'boolean', default => 'true' }, - terminated => { type => 'boolean', default => 'false' }, start_date => { type => 'date' }, - end_date => { type => 'date' }, - ar_chart_id => { type => 'integer', not_null => 1 }, - extend_automatically_by => { type => 'integer' }, + terminated => { type => 'boolean', default => 'false' }, ); __PACKAGE__->meta->primary_key_columns([ 'id' ]); @@ -42,7 +45,5 @@ __PACKAGE__->meta->foreign_keys( }, ); -# __PACKAGE__->meta->initialize; - 1; ;