From: Philip Reetz Date: Fri, 15 Dec 2006 10:39:12 +0000 (+0000) Subject: Kontenuebersicht angepasst wegen neuer format_amount X-Git-Tag: release-2.4.0^2~6 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=30a70ccf6975394a86d2ff036fe1d0fb34fcda04;p=kivitendo-erp.git Kontenuebersicht angepasst wegen neuer format_amount --- diff --git a/bin/mozilla/ca.pl b/bin/mozilla/ca.pl index de360495c..45c8cc755 100644 --- a/bin/mozilla/ca.pl +++ b/bin/mozilla/ca.pl @@ -125,14 +125,21 @@ sub chart_of_accounts { "$ca->{gifi_accno} "; $column_data{description} = "$ca->{description}"; } - + my $debit = ""; + my $credit = ""; + if ($ca->{debit}) { + $debit = $form->format_amount(\%myconfig, $ca->{debit}, 2, " "); + } + if ($ca->{credit}) { + $credit = $form->format_amount(\%myconfig, $ca->{credit}, 2, " "); + } $column_data{debit} = "" - . $form->format_amount(\%myconfig, $ca->{debit}, 2, " ") + . $debit . "\n"; $column_data{credit} = "" - . $form->format_amount(\%myconfig, $ca->{credit}, 2, " ") + . $credit . "\n"; $totaldebit += $ca->{debit};