X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=SL%2FController%2FCsvImport%2FBankTransaction.pm;h=3e04d3bd6b7dd6b7601d880fc0cc5467ad1f136d;hb=f319b065b828d7ac69ecbef68bfb16b4f3415422;hp=d6a7e87aa3880fb8b08b4941b61d6fc2bb03fea6;hpb=88d162cc5e8e8d3810059d918a1eef6a2b205984;p=kivitendo-erp.git diff --git a/SL/Controller/CsvImport/BankTransaction.pm b/SL/Controller/CsvImport/BankTransaction.pm index d6a7e87aa..3e04d3bd6 100644 --- a/SL/Controller/CsvImport/BankTransaction.pm +++ b/SL/Controller/CsvImport/BankTransaction.pm @@ -90,13 +90,27 @@ sub _displayable_columns { { name => 'local_bank_account_id', description => $::locale->text('ID of own bank account') }, { name => 'remote_bank_code', description => $::locale->text('Bank code of the goal/source') }, { name => 'remote_account_number', description => $::locale->text('Account number of the goal/source') }, - { name => 'transdate', description => $::locale->text('Date of transaction') }, - { name => 'valutadate', description => $::locale->text('Valuta date') }, + { name => 'transdate', description => $::locale->text('Transdate') }, + { name => 'valutadate', description => $::locale->text('Valutadate') }, { name => 'amount', description => $::locale->text('Amount') }, { name => 'currency', description => $::locale->text('Currency') }, { name => 'currency_id', description => $::locale->text('Currency (database ID)') }, { name => 'remote_name', description => $::locale->text('Name of the goal/source (if field names remote_name and remote_name_1 exist they will be combined into field "remote_name")') }, - { name => 'purpose', description => $::locale->text('Purpose (if field names purpose, purpose1, purpose2 ... exist they will all combined into the field "purpose")') } + { name => 'remote_name_1', description => $::locale->text('Name of the goal/source (if field names remote_name and remote_name_1 exist they will be combined into field "remote_name")') }, + { name => 'purpose', description => $::locale->text('Purpose (if field names purpose, purpose1, purpose2 ... exist they will all combined into the field "purpose")') }, + { name => 'purpose1', description => $::locale->text('Purpose (if field names purpose, purpose1, purpose2 ... exist they will all combined into the field "purpose")') }, + { name => 'purpose2', description => $::locale->text('Purpose (if field names purpose, purpose1, purpose2 ... exist they will all combined into the field "purpose")') }, + { name => 'purpose3', description => $::locale->text('Purpose (if field names purpose, purpose1, purpose2 ... exist they will all combined into the field "purpose")') }, + { name => 'purpose4', description => $::locale->text('Purpose (if field names purpose, purpose1, purpose2 ... exist they will all combined into the field "purpose")') }, + { name => 'purpose5', description => $::locale->text('Purpose (if field names purpose, purpose1, purpose2 ... exist they will all combined into the field "purpose")') }, + { name => 'purpose6', description => $::locale->text('Purpose (if field names purpose, purpose1, purpose2 ... exist they will all combined into the field "purpose")') }, + { name => 'purpose7', description => $::locale->text('Purpose (if field names purpose, purpose1, purpose2 ... exist they will all combined into the field "purpose")') }, + { name => 'purpose8', description => $::locale->text('Purpose (if field names purpose, purpose1, purpose2 ... exist they will all combined into the field "purpose")') }, + { name => 'purpose9', description => $::locale->text('Purpose (if field names purpose, purpose1, purpose2 ... exist they will all combined into the field "purpose")') }, + { name => 'purpose10', description => $::locale->text('Purpose (if field names purpose, purpose1, purpose2 ... exist they will all combined into the field "purpose")') }, + { name => 'purpose11', description => $::locale->text('Purpose (if field names purpose, purpose1, purpose2 ... exist they will all combined into the field "purpose")') }, + { name => 'purpose12', description => $::locale->text('Purpose (if field names purpose, purpose1, purpose2 ... exist they will all combined into the field "purpose")') }, + { name => 'purpose13', description => $::locale->text('Purpose (if field names purpose, purpose1, purpose2 ... exist they will all combined into the field "purpose")') } ); } @@ -160,7 +174,7 @@ sub join_purposes { my $object = $entry->{object}; - my $purpose = join('', $entry->{raw_data}->{purpose}, + my $purpose = join(' ', $entry->{raw_data}->{purpose}, $entry->{raw_data}->{purpose1}, $entry->{raw_data}->{purpose2}, $entry->{raw_data}->{purpose3}, @@ -171,7 +185,9 @@ sub join_purposes { $entry->{raw_data}->{purpose8}, $entry->{raw_data}->{purpose9}, $entry->{raw_data}->{purpose10}, - $entry->{raw_data}->{purpose11} ); + $entry->{raw_data}->{purpose11}, + $entry->{raw_data}->{purpose12}, + $entry->{raw_data}->{purpose13} ); $object->purpose($purpose); } @@ -181,7 +197,7 @@ sub join_remote_names { my $object = $entry->{object}; - my $remote_name = join('', $entry->{raw_data}->{remote_name}, + my $remote_name = join(' ', $entry->{raw_data}->{remote_name}, $entry->{raw_data}->{remote_name_1} ); $object->remote_name($remote_name); }