X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=bin%2Fmozilla%2Fgl.pl;h=b6d9448287aecb53dfed9d9a52c86b7e4161d725;hb=9d0ebf2831c46d1be13fb79cb3627a05f6681376;hp=5a6404d6c77d7da8ea382b7d22f51df45bdcbca2;hpb=356cd04b385336427336465b56f7b926ebfbe484;p=kivitendo-erp.git diff --git a/bin/mozilla/gl.pl b/bin/mozilla/gl.pl index 5a6404d6c..b6d944828 100644 --- a/bin/mozilla/gl.pl +++ b/bin/mozilla/gl.pl @@ -766,11 +766,11 @@ sub generate_report { } $transdate = ""; - foreach $key (sort keys(%{ $ref->{transdate} })) { + foreach $key (sort keys(%{ $ref->{ac_transdate} })) { if ($key == 0) { - $transdate = "$ref->{transdate}{$key}"; + $transdate = "$ref->{ac_transdate}{$key}"; } else { - $transdate .= "
$ref->{transdate}{$key}"; + $transdate .= "
$ref->{ac_transdate}{$key}"; } } @@ -1127,15 +1127,12 @@ sub display_rows { if ($previous_accno && ($previous_accno eq $selected_accno) && ($previous_tax_id ne $selected_tax_id)) { - $lxdebug->message(0, "yeah"); my $item = $taxcharts{$selected_tax_id}; $selected_taxchart = "$item->{id}--$item->{rate}"; } - if ($init) { - $selected_accno = ''; - $selected_taxchart = $taxchart_init; - } + $selected_accno = '' if ($init); + $selected_taxchart = $taxchart_init unless ($selected_taxchart ne ""); $accno = qq|| . NTI($cgi->popup_menu('-name' => "accno_$i",