fix(invoicePdf): invoice correction
gitea/salix/pipeline/head This commit looks good
Details
gitea/salix/pipeline/head This commit looks good
Details
This commit is contained in:
parent
e815292d6b
commit
12cfa05696
|
@ -3,8 +3,8 @@ SELECT
|
||||||
io.ref,
|
io.ref,
|
||||||
io.issued,
|
io.issued,
|
||||||
ict.description
|
ict.description
|
||||||
FROM vn.invoiceCorrection ic
|
FROM invoiceOut io
|
||||||
JOIN vn.invoiceOut io ON io.id = ic.correctedFk
|
JOIN invoiceCorrection ic ON ic.correctingFk = io.id
|
||||||
JOIN vn.invoiceCorrectionType ict ON ict.id = ic.invoiceCorrectionTypeFk
|
JOIN invoiceCorrectionType ict ON ict.id = ic.invoiceCorrectionTypeFk
|
||||||
LEFT JOIN ticket t ON t.refFk = io.ref
|
LEFT JOIN ticket t ON t.refFk = io.ref
|
||||||
WHERE t.refFk = ?
|
WHERE io.ref = ?
|
Loading…
Reference in New Issue