fix: refs #5586 Requested changes
gitea/salix/pipeline/pr-dev This commit looks good Details

This commit is contained in:
Guillermo Bonet 2024-02-15 09:38:34 +01:00
parent 8c262df31e
commit 5a0ce700b3
1 changed files with 1 additions and 1 deletions

View File

@ -87,7 +87,7 @@ module.exports = Self => {
WHERE t.shipped BETWEEN ? AND util.dayEnd(?)
AND t.refFk IS NULL
AND c.typeFk IN ('normal','trust')
GROUP BY t.clientFk, t.totalWithoutVat
GROUP BY t.clientFk, negativeBase.taxableBase
HAVING amount < 0`, [args.from, args.to]));
stmt = new ParameterizedSQL(`SELECT * FROM tmp.filter`);