$form->{title} = $locale->text('Start Dunning Process');
$form->{jsscript} = 1;
- $form->{fokus} = "search.customer";
+ $::request->{layout}->focus('#customer');
$form->header();
print $form->parse_html_template("dunning/add");
'no_opendocument' => 1,);
$form->header();
- $form->{onload} = "document.getElementsByName('language_id')[0].disabled =
- !document.getElementsByName('force_lang')[0].checked;";
print $form->parse_html_template("dunning/show_invoices");
$main::lxdebug->leave_sub();
$main::auth->assert('dunning_edit');
$form->{"title"} = $locale->text("Set eMail text");
- $form->header();
+ $form->header(no_layout => 1);
print($form->parse_html_template("dunning/set_email"));
$main::lxdebug->leave_sub();
$form->{jsscript} = 1;
$form->{title} = $locale->text('Dunnings');
- $form->{fokus} = "search.customer";
+ $::request->{layout}->focus('#customer');
$form->header();
- $form->{onload} = qq|focus()|;
-
print $form->parse_html_template("dunning/search");
$main::lxdebug->leave_sub();
$report->set_options_from_form();
- $form->{onload} = "document.getElementsByName('language_id')[0].disabled =
- !document.getElementsByName('force_lang')[0].checked;";
$report->generate_with_headers();
$main::lxdebug->leave_sub();