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++;
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);