X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=SL%2FDB%2FMetaSetup%2FSepaExportItem.pm;h=c0cd5d7d5da1709a2aa38ef8f80341b49226bcc4;hb=deb4d2dbb676d7d6f69dfe7815d6e0cb09bd4a44;hp=40a3fc012118306d8d38a38604f372b458a233ff;hpb=b8b112a39bd601b0bc717646d78de470631da22a;p=kivitendo-erp.git diff --git a/SL/DB/MetaSetup/SepaExportItem.pm b/SL/DB/MetaSetup/SepaExportItem.pm index 40a3fc012..c0cd5d7d5 100644 --- a/SL/DB/MetaSetup/SepaExportItem.pm +++ b/SL/DB/MetaSetup/SepaExportItem.pm @@ -4,26 +4,32 @@ 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( - id => { type => 'integer', not_null => 1, sequence => 'id' }, - sepa_export_id => { type => 'integer', not_null => 1 }, - ap_id => { type => 'integer' }, - chart_id => { type => 'integer', not_null => 1 }, - amount => { type => 'numeric', precision => 5, scale => 25 }, - reference => { type => 'varchar', length => 35 }, - requested_execution_date => { type => 'date' }, - executed => { type => 'boolean', default => 'false' }, - execution_date => { type => 'date' }, - our_iban => { type => 'varchar', length => 100 }, - our_bic => { type => 'varchar', length => 100 }, - vc_iban => { type => 'varchar', length => 100 }, - vc_bic => { type => 'varchar', length => 100 }, - end_to_end_id => { type => 'varchar', length => 35 }, - ar_id => { type => 'integer' }, + amount => { type => 'numeric', precision => 25, scale => 5 }, + ap_id => { type => 'integer' }, + ar_id => { type => 'integer' }, + chart_id => { type => 'integer', not_null => 1 }, + end_to_end_id => { type => 'varchar', length => 35 }, + executed => { type => 'boolean', default => 'false' }, + execution_date => { type => 'date' }, + id => { type => 'integer', not_null => 1, sequence => 'id' }, + 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 }, + vc_mandate_date_of_signature => { type => 'date' }, + vc_mandator_id => { type => 'text' }, ); __PACKAGE__->meta->primary_key_columns([ 'id' ]); @@ -50,7 +56,5 @@ __PACKAGE__->meta->foreign_keys( }, ); -# __PACKAGE__->meta->initialize; - 1; ;