add new report custom render pandora_enterprise#8540

This commit is contained in:
Daniel Barbero Martin 2022-04-05 13:55:29 +02:00
parent c049f18bf1
commit 6bfde7e903
2 changed files with 2 additions and 4 deletions

View File

@ -6492,8 +6492,6 @@ function chooseType() {
break; break;
case 'custom_render': case 'custom_render':
$("#row_description").show();
$("#row_period").show();
$("#row_macros_definition").show(); $("#row_macros_definition").show();
$("#row_render_definition").show(); $("#row_render_definition").show();
break; break;

View File

@ -4884,7 +4884,7 @@ function reporting_custom_render($report, $content, $type='dinamic', $pdf=0)
'', '',
$config['fontpath'], $config['fontpath'],
$config['font_size'], $config['font_size'],
2, ($pdf === true) ? 2 : 1,
'hidden', 'hidden',
'', '',
true true
@ -4939,7 +4939,7 @@ function reporting_custom_render($report, $content, $type='dinamic', $pdf=0)
false, false,
false false
), ),
'ttl' => 2, 'ttl' => ($pdf === true) ? 2 : 1,
'show_unknown' => true, 'show_unknown' => true,
'height' => $height, 'height' => $height,
'backgroundColor' => 'transparent', 'backgroundColor' => 'transparent',