Events count filter by type in event reports #4261
This commit is contained in:
parent
e07958dab2
commit
aacdaf2f06
|
@ -129,7 +129,13 @@ function reporting_html_print_report($report, $mini = false) {
|
||||||
$item['date']['to'],
|
$item['date']['to'],
|
||||||
$label);
|
$label);
|
||||||
|
|
||||||
$table->data['description_row']['description'] = $item["description"]." - Total events: ".$item["total_events"];
|
if($item["total_events"]){
|
||||||
|
$table->data['description_row']['description'] = $item['description']." - Total events: ".$item["total_events"];
|
||||||
|
}
|
||||||
|
else{
|
||||||
|
$table->data['description_row']['description'] = $item["description"];
|
||||||
|
}
|
||||||
|
|
||||||
$table->colspan['description_row']['description'] = 3;
|
$table->colspan['description_row']['description'] = 3;
|
||||||
|
|
||||||
switch ($item['type']) {
|
switch ($item['type']) {
|
||||||
|
|
Loading…
Reference in New Issue