mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-04-08 18:55:09 +02:00
Merge branch 'ent-13597-resultado-de-item-grouped-exception-en-templates-no-da-valores-en-operacion-sum' into 'develop'
Ent 13597 resultado de item grouped exception en templates no da valores en operacion sum See merge request artica/pandorafms!7353
This commit is contained in:
commit
6e292f2656
@ -4142,6 +4142,13 @@ function reporting_exception(
|
||||
);
|
||||
break;
|
||||
|
||||
case 'sum':
|
||||
$min = reporting_get_agentmodule_data_sum(
|
||||
$exceptions[$i]['id_agent_module'],
|
||||
$content['period']
|
||||
);
|
||||
break;
|
||||
|
||||
default:
|
||||
// Default.
|
||||
break;
|
||||
@ -4193,6 +4200,10 @@ function reporting_exception(
|
||||
case 'min':
|
||||
$value = reporting_get_agentmodule_data_min($exc['id_agent_module'], $content['period']);
|
||||
break;
|
||||
|
||||
case 'sum':
|
||||
$value = reporting_get_agentmodule_data_sum($exc['id_agent_module'], $content['period']);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user