refs #6915 test_master24_8 #2067
|
@ -87,7 +87,7 @@ module.exports = Self => {
|
||||||
WHERE t.shipped BETWEEN ? AND util.dayEnd(?)
|
WHERE t.shipped BETWEEN ? AND util.dayEnd(?)
|
||||||
AND t.refFk IS NULL
|
AND t.refFk IS NULL
|
||||||
AND c.typeFk IN ('normal','trust')
|
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]));
|
HAVING amount < 0`, [args.from, args.to]));
|
||||||
|
|
||||||
stmt = new ParameterizedSQL(`SELECT * FROM tmp.filter`);
|
stmt = new ParameterizedSQL(`SELECT * FROM tmp.filter`);
|
||||||
|
|
Loading…
Reference in New Issue