X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=bin%2Fmozilla%2Frp.pl;h=1ea245397af36145dada57dfe323c0cc664892e9;hb=c2ed42c3f435937925ef825de61f2520196d1de6;hp=5772e1697e0a49fade7a48efbe06f107b77f82a1;hpb=d319704a66e9be64da837ccea10af6774c2b0838;p=kivitendo-erp.git diff --git a/bin/mozilla/rp.pl b/bin/mozilla/rp.pl index 5772e1697..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"; @@ -200,7 +200,7 @@ sub report { . $locale->text('button') . qq|>|; $button2 = qq| |; - $button2_2 = qq| + $button2_2 = qq| text('button') . qq|> |; @@ -394,7 +394,7 @@ $jsscript