From: Moritz Bunkus Date: Wed, 10 Jan 2007 16:00:59 +0000 (+0000) Subject: Anzeige von mehrzeiligen Firmenadressen berichtigt. Fix für Bug #484. X-Git-Tag: release-2.4.1~1^2~65 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=22573a5bbc295ce814d5d121ad5fd105dd4e6ad0;p=kivitendo-erp.git Anzeige von mehrzeiligen Firmenadressen berichtigt. Fix für Bug #484. --- diff --git a/bin/mozilla/rp.pl b/bin/mozilla/rp.pl index 034fa4f89..7e931d468 100644 --- a/bin/mozilla/rp.pl +++ b/bin/mozilla/rp.pl @@ -1253,7 +1253,8 @@ sub generate_balance_sheet { $form->{IN} = "balance_sheet.html"; # setup company variables for the form - map { $form->{$_} = $myconfig{$_} } + map { $form->{$_} = $myconfig{$_}; + $form->{$_} =~ s/\\n/\n/g; } (qw(company address businessnumber nativecurr)); $form->{templates} = $myconfig{templates}; diff --git a/bin/mozilla/ustva.pl b/bin/mozilla/ustva.pl index bf9aaecb3..6f097c7e1 100644 --- a/bin/mozilla/ustva.pl +++ b/bin/mozilla/ustva.pl @@ -1033,7 +1033,7 @@ sub generate_ustva { $form->{bold} = ""; $form->{endbold} = ""; $form->{br} = "
"; - $form->{address} =~ s/\\n/
/g; + $form->{address} =~ s/\\n/\n/g; } elsif ($form->{format} =~ /^elster/) {