Merge pull request 'quito left en taxes' (#1039) from cau-#052809-fallo-invoiceOut-left into master
gitea/salix/pipeline/head This commit looks good Details

Reviewed-on: #1039
Reviewed-by: Juan Ferrer <juan@verdnatura.es>
This commit is contained in:
Javi Gallego 2022-08-17 10:41:04 +00:00
commit e376dbf038
1 changed files with 1 additions and 2 deletions

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