X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/94e596e55cef6b9ef9b80b5a4dba8204e0c29c9f..40d52f50:/bin/mozilla/rp.pl 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);