X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=SL%2FDB%2FMetaSetup%2FSepaExportItem.pm;h=c0cd5d7d5da1709a2aa38ef8f80341b49226bcc4;hb=deb4d2dbb676d7d6f69dfe7815d6e0cb09bd4a44;hp=f2b325d8509f0cdada765dd268e3e6ebc93bd46e;hpb=b021f0f5808d9a3b02ddc7f13c206ebc88387ff1;p=kivitendo-erp.git diff --git a/SL/DB/MetaSetup/SepaExportItem.pm b/SL/DB/MetaSetup/SepaExportItem.pm index f2b325d85..c0cd5d7d5 100644 --- a/SL/DB/MetaSetup/SepaExportItem.pm +++ b/SL/DB/MetaSetup/SepaExportItem.pm @@ -4,12 +4,12 @@ package SL::DB::SepaExportItem; use strict; -use base qw(SL::DB::Object); +use parent qw(SL::DB::Object); __PACKAGE__->meta->table('sepa_export_items'); __PACKAGE__->meta->columns( - amount => { type => 'numeric', precision => 5, scale => 25 }, + amount => { type => 'numeric', precision => 25, scale => 5 }, ap_id => { type => 'integer' }, ar_id => { type => 'integer' }, chart_id => { type => 'integer', not_null => 1 }, @@ -20,9 +20,11 @@ __PACKAGE__->meta->columns( our_bic => { type => 'varchar', length => 100 }, our_depositor => { type => 'text' }, our_iban => { type => 'varchar', length => 100 }, + payment_type => { type => 'text', default => 'without_skonto' }, reference => { type => 'varchar', length => 35 }, requested_execution_date => { type => 'date' }, sepa_export_id => { type => 'integer', not_null => 1 }, + skonto_amount => { type => 'numeric', precision => 25, scale => 5 }, vc_bic => { type => 'varchar', length => 100 }, vc_depositor => { type => 'text' }, vc_iban => { type => 'varchar', length => 100 },