WIP: #7134 SupplierBalance #3173

Draft
jsegarra wants to merge 6 commits from 7134-supplierBalance into dev
1 changed files with 1 additions and 1 deletions
Showing only changes of commit aab595e9dd - Show all commits

View File

@ -154,7 +154,7 @@ BEGIN
JOIN travel tr ON tr.id = e.travelFk
JOIN currency c ON c.id = e.currencyFk
WHERE e.supplierFk = vSupplierFk
AND tr.landed >= CURDATE()
AND tr.landed >= util.VN_CURDATE()
AND e.invoiceInFk IS NULL
AND vHasEntries
ORDER BY (dated IS NULL AND NOT isBooked),