]> wagnertech.de Git - kivitendo-erp.git/blobdiff - SL/DB/MetaSetup/DunningConfig.pm
Merge branch 'b-3.6.1' of ../kivitendo-erp_20220811
[kivitendo-erp.git] / SL / DB / MetaSetup / DunningConfig.pm
index c041917fbf39f7b4f6e3f6577785c3150d6a64e6..e7378646fafca6be8534253ae455d639045c3489 100644 (file)
@@ -4,31 +4,30 @@ package SL::DB::DunningConfig;
 
 use strict;
 
-use base qw(SL::DB::Object);
+use parent qw(SL::DB::Object);
 
 __PACKAGE__->meta->table('dunning_config');
 
 __PACKAGE__->meta->columns(
-  id                       => { type => 'integer', not_null => 1, sequence => 'id' },
-  dunning_level            => { type => 'integer' },
-  dunning_description      => { type => 'text' },
   active                   => { type => 'boolean' },
   auto                     => { type => 'boolean' },
+  create_invoices_for_fees => { type => 'boolean', default => 'true' },
+  dunning_description      => { type => 'text' },
+  dunning_level            => { type => 'integer' },
   email                    => { type => 'boolean' },
-  terms                    => { type => 'integer' },
-  payment_terms            => { type => 'integer' },
-  fee                      => { type => 'numeric', precision => 5, scale => 15 },
-  interest_rate            => { type => 'numeric', precision => 5, scale => 15 },
+  email_attachment         => { type => 'boolean' },
   email_body               => { type => 'text' },
   email_subject            => { type => 'text' },
-  email_attachment         => { type => 'boolean' },
+  fee                      => { type => 'numeric', precision => 15, scale => 5 },
+  id                       => { type => 'integer', not_null => 1, sequence => 'id' },
+  interest_rate            => { type => 'numeric', precision => 15, scale => 5 },
+  payment_terms            => { type => 'integer' },
+  print_original_invoice   => { type => 'boolean' },
   template                 => { type => 'text' },
-  create_invoices_for_fees => { type => 'boolean', default => 'true' },
+  terms                    => { type => 'integer' },
 );
 
 __PACKAGE__->meta->primary_key_columns([ 'id' ]);
 
-# __PACKAGE__->meta->initialize;
-
 1;
 ;