Merge branch 'ent-8368-Faltan-mayusculas-en-nuevo-item-de-informes-Actions-alert-report' into 'develop'

report alert action ucfirst th table #8368

See merge request artica/pandorafms!4580
This commit is contained in:
Daniel Rodriguez 2021-12-14 09:48:23 +00:00
commit fa6690b55a
1 changed files with 8 additions and 1 deletions

View File

@ -2795,6 +2795,13 @@ function reporting_html_alert_report_actions($table, $item, $pdf=0)
}
/**
* Draw alert action table.
*
* @param array $data Data.
*
* @return string Html output.
*/
function get_alert_table($data)
{
$table = new StdCLass();
@ -2807,7 +2814,7 @@ function get_alert_table($data)
$head = reset($data);
foreach (array_reverse(array_keys($head)) as $name) {
$table->head[] = $name;
$table->head[] = ucfirst($name);
}
foreach ($data as $key => $params) {