mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-31 01:35:36 +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;
|
break;
|
||||||
|
|
||||||
|
case 'sum':
|
||||||
|
$min = reporting_get_agentmodule_data_sum(
|
||||||
|
$exceptions[$i]['id_agent_module'],
|
||||||
|
$content['period']
|
||||||
|
);
|
||||||
|
break;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
// Default.
|
// Default.
|
||||||
break;
|
break;
|
||||||
@ -4193,6 +4200,10 @@ function reporting_exception(
|
|||||||
case 'min':
|
case 'min':
|
||||||
$value = reporting_get_agentmodule_data_min($exc['id_agent_module'], $content['period']);
|
$value = reporting_get_agentmodule_data_min($exc['id_agent_module'], $content['period']);
|
||||||
break;
|
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