1
0
mirror of https://github.com/devcode-it/openstamanager.git synced 2025-06-05 22:09:38 +02:00

Impostazione "Totali delle tabelle ristretti alla selezione"

This commit is contained in:
Thomas Zilio
2020-07-16 17:31:30 +02:00
parent c35b641bd8
commit 3e5b3e2fa6
5 changed files with 62 additions and 9 deletions

View File

@@ -140,5 +140,15 @@ switch (filter('op')) {
echo json_encode($response);
break;
case 'summable-results':
$ids = post('ids') ?: [];
$results = Util\Query::getSums($structure, [
'id' => $ids,
]);
echo json_encode($results);
break;
}