Merge branch 'ent-13051-vista-de-agent-detail-en-open-tiene-filtro-para-politicas' into 'develop'

Ent 13051 Vista de Agent detail en Open tiene filtro para políticas

See merge request artica/pandorafms!7024
This commit is contained in:
Jose Martin 2024-03-26 11:25:57 +00:00
commit 774b608005
1 changed files with 19 additions and 17 deletions

View File

@ -430,23 +430,25 @@ if (function_exists('policies_get_policies') === true) {
}
}
$table->data[2][1] = html_print_label_input_block(
__('Policies'),
html_print_select(
$fields,
'policies',
$policies,
'',
__('All'),
0,
true,
false,
true,
'w100p',
false,
'width: 100%'
)
);
if (enterprise_installed() === true) {
$table->data[2][1] = html_print_label_input_block(
__('Policies'),
html_print_select(
$fields,
'policies',
$policies,
'',
__('All'),
0,
true,
false,
true,
'w100p',
false,
'width: 100%'
)
);
}
$custom_fields = db_get_all_fields_in_table('tagent_custom_fields');
if ($custom_fields === false) {