From 7782b08b59e0351fc3c416e6d36e0f07ec04a4f2 Mon Sep 17 00:00:00 2001 From: Arturo Gonzalez Date: Wed, 7 Jun 2017 15:10:51 +0200 Subject: [PATCH] Added lost value --- pandora_console/include/functions_reporting_html.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/pandora_console/include/functions_reporting_html.php b/pandora_console/include/functions_reporting_html.php index a28201568b..955a9973c8 100644 --- a/pandora_console/include/functions_reporting_html.php +++ b/pandora_console/include/functions_reporting_html.php @@ -2639,20 +2639,24 @@ function reporting_html_general(&$table, $item) { $table1->head[2] = __('Avg'); $table1->head[3] = __('Max'); $table1->head[4] = __('Min'); + $table1->head[5] = __('Sum'); $table1->style[0] = 'text-align: center'; $table1->style[1] = 'text-align: center'; $table1->style[2] = 'text-align: center'; $table1->style[3] = 'text-align: center'; $table1->style[4] = 'text-align: center'; + $table1->style[4] = 'text-align: center'; foreach ($order_data as $id_agent => $row) { foreach ($row as $id_module => $row2) { + html_debug($row2); $table1->data[] = array( agents_get_alias($id_agent), modules_get_agentmodule_name($id_module), $row2['Rate'], $row2['Maximum'], - $row2['Minimum']); + $row2['Minimum'], + $row2['Summatory']); } } }