}
}
- $form->{title} = $locale->text('Edit Dunning Process Config');
- $form->{callback} ||= build_std_url("action=edit_config");
- $form->{rowcount} = 1 + scalar @{ $form->{DUNNING} };
- $form->{rowcount_odd} = $form->{rowcount} % 2;
+ $form->{title} = $locale->text('Edit Dunning Process Config');
+ $form->{callback} ||= build_std_url("action=edit_config");
$form->header();
print $form->parse_html_template("dunning/edit_config");
$form->{jsscript} = 1;
$form->{callback} ||= build_std_url("action=show_invoices", qw(login password customer invnumber ordnumber groupinvoices minamount dunning_level notes));
- $form->{PRINT_OPTIONS} = print_options({ 'inline' => 1,
- 'no_queue' => 1,
- 'no_postscript' => 1,
- 'no_html' => 1,
- 'no_opendocument' => 1, });
+ $form->{PRINT_OPTIONS} = print_options('inline' => 1,
+ 'no_queue' => 1,
+ 'no_postscript' => 1,
+ 'no_html' => 1,
+ 'no_opendocument' => 1,);
$form->header();
print $form->parse_html_template("dunning/show_invoices");
foreach my $level (values %{ $levels }) {
next unless scalar @{ $level };
- DN->save_dunning(\%myconfig, $form, $level, $userspath, $spool, $sendmail);
+ DN->save_dunning(\%myconfig, $form, $level, $userspath, $spool);
}
}
"customer_id" => $form->{"customer_id_$i"},
"next_dunning_config_id" => $form->{"next_dunning_config_id_$i"},
"email" => $form->{"email_$i"}, } ];
- DN->save_dunning(\%myconfig, $form, $level, $userspath, $spool, $sendmail);
+ DN->save_dunning(\%myconfig, $form, $level, $userspath, $spool);
}
}
'languages' => 'languages');
$form->{type} = 'dunning';
- $form->{PRINT_OPTIONS} = print_options({ 'inline' => 1,
- 'no_queue' => 1,
- 'no_postscript' => 1,
- 'no_html' => 1,
- 'no_opendocument' => 1, });
+ $form->{PRINT_OPTIONS} = print_options('inline' => 1,
+ 'no_queue' => 1,
+ 'no_postscript' => 1,
+ 'no_html' => 1,
+ 'no_opendocument' => 1,);
$form->{title} = $locale->text('Dunning overview');
my $report = SL::ReportGenerator->new(\%myconfig, $form);