implemented alert commands and actions to send report by email

This commit is contained in:
alejandro.campos@artica.es 2022-09-13 12:18:53 +02:00
parent d1cc2458b6
commit 2ea9cebaad
1 changed files with 3 additions and 3 deletions

View File

@ -17731,7 +17731,7 @@ function api_set_send_report($thrash1, $thrash2, $other, $returnType)
$name = explode(' - ', $report['name']); $name = explode(' - ', $report['name']);
$tmpfile = $config['homedir'].'/attachment/'.$name[0].'.csv'; $tmpfile = $config['homedir'].'/attachment/'.$name[0].'.csv';
// ------- Removed the unused fields -----------------------------. // Remove unused fields.
unset($report['header']); unset($report['header']);
unset($report['first_page']); unset($report['first_page']);
unset($report['footer']); unset($report['footer']);
@ -17765,7 +17765,7 @@ function api_set_send_report($thrash1, $thrash2, $other, $returnType)
'data' 'data'
); );
// ------- Removed the unused fields ----------------------------- // Remove unused fields.
unset($report['header']); unset($report['header']);
unset($report['first_page']); unset($report['first_page']);
unset($report['footer']); unset($report['footer']);
@ -17800,7 +17800,7 @@ function api_set_send_report($thrash1, $thrash2, $other, $returnType)
$name = explode(' - ', $report['name']); $name = explode(' - ', $report['name']);
$tmpfile = $config['homedir'].'/attachment/'.$name[0].'.xml'; $tmpfile = $config['homedir'].'/attachment/'.$name[0].'.xml';
// ------- Removed the unused fields ----------------------------- // Remove unused fields.
unset($report['header']); unset($report['header']);
unset($report['first_page']); unset($report['first_page']);
unset($report['footer']); unset($report['footer']);