am: fehlendes include für Historiensuche(2)
[kivitendo-erp.git] / bin / mozilla / dn.pl
index f1bc4c8..8a10912 100644 (file)
@@ -35,7 +35,6 @@
 use POSIX qw(strftime);
 
 use SL::IS;
-use SL::PE;
 use SL::DN;
 use SL::DB::Dunning;
 use SL::Helper::Flash qw(flash);
@@ -154,6 +153,7 @@ sub show_invoices {
                                           'no_html'         => 1,
                                           'no_opendocument' => 1,);
 
+  $::request->layout->add_javascripts("kivi.Dunning.js");
   $form->header();
   print $form->parse_html_template("dunning/show_invoices");
 
@@ -454,6 +454,7 @@ sub show_dunning {
 
   $report->set_options_from_form();
 
+  $::request->layout->add_javascripts("kivi.Dunning.js");
   $report->generate_with_headers();
 
   $main::lxdebug->leave_sub();