From: Philip Reetz Date: Fri, 20 Jan 2006 10:22:44 +0000 (+0000) Subject: Bei Bilanz waren die Variablen fuer Stichtag und Vergleichsstichtag vertauscht, beheb... X-Git-Tag: release-2.4.0^2~371 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=03af809653a012d28a9f3a96bc412d38ed73ba97;p=kivitendo-erp.git Bei Bilanz waren die Variablen fuer Stichtag und Vergleichsstichtag vertauscht, behebt Bug#267 --- diff --git a/bin/mozilla/rp.pl b/bin/mozilla/rp.pl index a66a629da..1ea245397 100644 --- a/bin/mozilla/rp.pl +++ b/bin/mozilla/rp.pl @@ -137,13 +137,13 @@ sub report { $department = ""; } else { if ($form->{report} eq "balance_sheet") { - $name_1 = "compareasofdate"; - $id_1 = "compareasofdate"; - $value_1 = ""; + $name_1 = "asofdate"; + $id_1 = "asofdate"; + $value_1 = "$form->{asofdate}"; $trigger_1 = "trigger1"; - $name_2 = "asofdate"; - $id_2 = "asofdate"; - $value_2 = "$form->{asofdate}"; + $name_2 = "compareasofdate"; + $id_2 = "compareasofdate"; + $value_2 = "$form->{compareasofdate}"; $trigger_2 = "trigger2"; } elsif ($form->{report} =~ /(receipts|payments)$/) { $name_1 = "fromdate";