This commit is contained in:
parent
8c262df31e
commit
5a0ce700b3
|
@ -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`);
|
||||
|
|
Loading…
Reference in New Issue