From 1974df3353b9c43a8c53c699f430a8767438b341 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Sven=20Sch=C3=B6ling?= Date: Mon, 18 May 2009 14:46:11 +0000 Subject: [PATCH] =?utf8?q?Konten=C3=BCbersicht=20zeigt=20jetzt=20nur=20noc?= =?utf8?q?h=20bebuchte=20Konten=20an.?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Fix bzw. Implementierung von Bug 944. --- bin/mozilla/ca.pl | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/bin/mozilla/ca.pl b/bin/mozilla/ca.pl index eae613179..b45c36d64 100644 --- a/bin/mozilla/ca.pl +++ b/bin/mozilla/ca.pl @@ -107,6 +107,7 @@ sub chart_of_accounts { my %totals = ('debit' => 0, 'credit' => 0); foreach my $ca (@{ $form->{CA} }) { + next unless defined $ca->{amount}; my $row = { }; foreach (qw(debit credit)) { @@ -163,7 +164,7 @@ sub list { | if $form->{selectdepartment}; $accrual = ($eur) ? "" : "checked"; $cash = ($eur) ? "checked" : ""; - + $name_1 = "fromdate"; $id_1 = "fromdate"; $value_1 = "$form->{fromdate}"; @@ -352,7 +353,7 @@ $checked> | . $locale->text('Subtotal') . qq| - + $jsscript
@@ -644,7 +645,7 @@ sub list_transactions { $ca->{description} .= " \n " . $ca->{memo}; } - + foreach my $gegenkonto (@{ $ca->{GEGENKONTO} }) { if ($ca->{gegenkonto} eq "") { -- 2.20.1