#5344 validation of PDF fields for the open version

This commit is contained in:
Jorge Rincon 2023-04-26 13:05:50 +02:00
parent 3a318436a9
commit b6e0dd5998
1 changed files with 23 additions and 17 deletions

View File

@ -38,6 +38,9 @@ require_once $config['homedir'].'/include/db/oracle.php';
// Login check.
check_login();
// Validate enterprise.
$is_enterprise = enterprise_installed();
if (! check_acl($config['id_user'], 0, 'RW')
&& ! check_acl($config['id_user'], 0, 'RM')
) {
@ -3645,7 +3648,9 @@ $class = 'databox filters';
?>
</td>
</tr>
<?php
if ($is_enterprise) {
?>
<tr id="row_landscape" class="datos">
<td class="bolder">
<?php
@ -3654,7 +3659,6 @@ $class = 'databox filters';
</td>
<td><?php html_print_checkbox_switch('landscape', 1, $landscape); ?></td>
</tr>
<tr id="row_pagebreak" class="datos">
<td class="bolder">
<?php
@ -3663,7 +3667,9 @@ $class = 'databox filters';
</td>
<td><?php html_print_checkbox_switch('pagebreak', 1, $pagebreak); ?></td>
</tr>
<?php
}
?>
<tr id="row_agents_inventory_display_options" class="datos">
<td class="bolder">
<?php