mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-31 01:35:36 +02:00
add new report custom render pandora_enterprise#8540
This commit is contained in:
parent
502b5ab0db
commit
6351b98777
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user