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.')
);
}