From 2deb38c5f7fc97e5a6029c9d57d8122a46e76ab2 Mon Sep 17 00:00:00 2001 From: "G. Richardson" Date: Mon, 2 Oct 2017 09:44:18 +0200 Subject: [PATCH] DATEV: Typos --- SL/DATEV.pm | 2 +- SL/DATEV/CSV.pm | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/SL/DATEV.pm b/SL/DATEV.pm index 9418c4839..00e0aa3b7 100644 --- a/SL/DATEV.pm +++ b/SL/DATEV.pm @@ -1397,7 +1397,7 @@ sub csv_buchungsexport { foreach my $column (@csv_columns) { if (exists $column->{max_length} && $column->{kivi_datev_name} ne 'not yet implemented') { # check max length - die "Incorrect lenght of field" if length($row->{ $column->{kivi_datev_name} }) > $column->{max_length}; + die "Incorrect length of field" if length($row->{ $column->{kivi_datev_name} }) > $column->{max_length}; } if (exists $column->{valid_check} && $column->{kivi_datev_name} ne 'not yet implemented') { # more checks, listed as user warnings diff --git a/SL/DATEV/CSV.pm b/SL/DATEV/CSV.pm index 9792d830d..4dfa06b35 100644 --- a/SL/DATEV/CSV.pm +++ b/SL/DATEV/CSV.pm @@ -243,7 +243,7 @@ sub generate_csv_header { my $length_of_accounts = length(SL::DB::Manager::Chart->get_first(where => [charttype => 'A'])->accno) // 4; my $default_curr = SL::DB::Default->get_default_currency; - # datev metadata and the string lenght limits + # datev metadata and the string length limits my %meta_datev; my %meta_datev_to_valid_length = ( beraternr => 7, -- 2.20.1