add new report custom render pandora_enterprise#8540

This commit is contained in:
Daniel Barbero Martin 2022-04-04 14:56:40 +02:00
parent 502b5ab0db
commit 6351b98777

View File

@ -1040,6 +1040,13 @@ function reports_copy_report($id_report)
} }
/**
* Table custom macros.
*
* @param string $data JSON.
*
* @return string Html output.
*/
function get_table_custom_macros_report($data) function get_table_custom_macros_report($data)
{ {
$table = new StdClass(); $table = new StdClass();
@ -1183,6 +1190,14 @@ function get_table_custom_macros_report($data)
} }
/**
* Custom field macros report
*
* @param array $macro Info macro.
* @param string $key_macro Key.
*
* @return array
*/
function custom_fields_macros_report($macro, $key_macro) function custom_fields_macros_report($macro, $key_macro)
{ {
$result = []; $result = [];
@ -1380,7 +1395,7 @@ function custom_fields_macros_report($macro, $key_macro)
break; break;
default: default:
// code... // Not possible.
break; break;
} }