#6321 - Negative tickets #1945

Merged
jsegarra merged 146 commits from 6321_negative_tickets into dev 2025-02-11 08:45:33 +00:00
1 changed files with 1 additions and 1 deletions
Showing only changes of commit 24411f9af1 - Show all commits

View File

@ -44,7 +44,7 @@ module.exports = Self => {
JOIN hedera.imageConfig ic JOIN hedera.imageConfig ic
WHERE e.supplierFk = ? WHERE e.supplierFk = ?
AND i.family IN ('EMB', 'CONT') AND i.family IN ('EMB', 'CONT')
AND b.created > util.VN_CURDATE() - INTERVAL bc.monthsAgo MONTH) AND b.created > (util.VN_CURDATE() - INTERVAL bc.monthsAgo MONTH)
GROUP BY b.itemFk GROUP BY b.itemFk
ORDER BY et.quantity DESC, quantityTotal DESC`, [entry, id, id]); ORDER BY et.quantity DESC, quantityTotal DESC`, [entry, id, id]);
}; };