my $form = $main::form;
my $locale = $main::locale;
- if (!$main::lizenzen) {
+ $form->{title} = $locale->text('Add License');
+
+ if (!$::lx_office_conf{features}->{lizenzen}) {
$form->error(
$locale->text(
- 'The licensing module has been deactivated in lx-erp.conf.')
+ 'The licensing module has been deactivated in the configuration.')
);
}
my $form = $main::form;
my $locale = $main::locale;
- if (!$main::lizenzen) {
+ $form->{title} = $locale->text('Licenses');
+
+ if (!$::lx_office_conf{features}->{lizenzen}) {
$form->error(
$locale->text(
- 'The licensing module has been deactivated in lx-erp.conf.')
+ 'The licensing module has been deactivated in the configuration.')
);
}
. $locale->text(
"No licenses were found that match the search criteria.")
. qq|</body></html>|);
- exit(0);
+ ::end_of_request();
}
print(