quito left en taxes #1039

Merged
jgallego merged 1 commits from cau-#052809-fallo-invoiceOut-left into master 2022-08-17 10:41:11 +00:00
1 changed files with 1 additions and 2 deletions
Showing only changes of commit 5e54e27718 - Show all commits

View File

@ -7,6 +7,5 @@ SELECT
JOIN pgc ON pgc.code = iot.pgcFk JOIN pgc ON pgc.code = iot.pgcFk
LEFT JOIN pgcEqu pe ON pe.equFk = pgc.code LEFT JOIN pgcEqu pe ON pe.equFk = pgc.code
JOIN invoiceOut io ON io.id = iot.invoiceOutFk JOIN invoiceOut io ON io.id = iot.invoiceOutFk
LEFT JOIN ticket t ON t.refFk = io.ref WHERE io.ref = ?
WHERE t.refFk = ?
ORDER BY iot.id ORDER BY iot.id