We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2dfb09e commit 88d22c4Copy full SHA for 88d22c4
1 file changed
modules/partitario/dettagli_conto3.php
@@ -38,7 +38,7 @@
38
`co_movimenti`.`data` >= '.prepare($_SESSION['period_start']).' AND
39
`co_movimenti`.`data` <= '.prepare($_SESSION['period_end']).'
40
GROUP BY
41
- `co_movimenti`.`idmastrino`, IF(`totale`>0, 1, 0)
+ `co_movimenti`.`iddocumento`, `co_movimenti`.`idmastrino`
42
ORDER BY
43
`co_movimenti`.`data` DESC, `co_movimenti`.`id` DESC';
44
$movimenti = $dbo->fetchArray($query);
0 commit comments