use parent statt use base in MetaSetup
[kivitendo-erp.git] / SL / DB / MetaSetup / DunningConfig.pm
index 61e2db3..ef4c594 100644 (file)
@@ -4,7 +4,7 @@ package SL::DB::DunningConfig;
 
 use strict;
 
-use base qw(SL::DB::Object);
+use parent qw(SL::DB::Object);
 
 __PACKAGE__->meta->table('dunning_config');
 
@@ -18,9 +18,9 @@ __PACKAGE__->meta->columns(
   email_attachment         => { type => 'boolean' },
   email_body               => { type => 'text' },
   email_subject            => { type => 'text' },
-  fee                      => { type => 'numeric', precision => 5, scale => 15 },
+  fee                      => { type => 'numeric', precision => 15, scale => 5 },
   id                       => { type => 'integer', not_null => 1, sequence => 'id' },
-  interest_rate            => { type => 'numeric', precision => 5, scale => 15 },
+  interest_rate            => { type => 'numeric', precision => 15, scale => 5 },
   payment_terms            => { type => 'integer' },
   template                 => { type => 'text' },
   terms                    => { type => 'integer' },