X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;ds=sidebyside;f=bin%2Fmozilla%2Frp.pl;h=6c8562b46cbca7ad992b8d722ee675373812f885;hb=b2f45e7ebfee8fd1cf79632baccad61d6814fd8c;hp=4734d205e07e02e84951d311e5b325c60b350d4a;hpb=94e596e55cef6b9ef9b80b5a4dba8204e0c29c9f;p=kivitendo-erp.git diff --git a/bin/mozilla/rp.pl b/bin/mozilla/rp.pl index 4734d205e..6c8562b46 100644 --- a/bin/mozilla/rp.pl +++ b/bin/mozilla/rp.pl @@ -1759,8 +1759,8 @@ sub aging { if ($previous_ctid != $ref->{ctid}) { $row->{statement}->{raw_data} = - $cgi->hidden('-name' => "customer_id_${row_idx}", '-value' => $ref->{ctid}) - . $cgi->checkbox('-name' => "statement_${row_idx}", '-value' => 1, '-label' => '', 'checked' => $ref->{checked}); + $cgi->hidden('-name' => "customer_id_" . ($row_idx + 1), '-value' => $ref->{ctid}) + . $cgi->checkbox('-name' => "statement_" . ($row_idx + 1), '-value' => 1, '-label' => '', 'checked' => $ref->{checked}); $row->{ct}->{data} = $ref->{name}; $row_idx++; @@ -2374,10 +2374,10 @@ sub list_payments { my @options; if ($form->{fromdate}) { - push @options, $locale->text('From') . " " . $locale->date(\%myconfig, $form->{fromdate}, 1); + push @options, $locale->text('From') . " " . $locale->date(\%myconfig, $form->{fromdate}, 1); } if ($form->{todate}) { - push @options, $locale->text('bis') . " " . $locale->date(\%myconfig, $form->{todate}, 1); + push @options, $locale->text('bis') . " " . $locale->date(\%myconfig, $form->{todate}, 1); } my $report = SL::ReportGenerator->new(\%myconfig, $form);