Hot fix informe facturas recibidas Ticket #176640
gitea/salix/pipeline/pr-master This commit looks good
Details
gitea/salix/pipeline/pr-master This commit looks good
Details
This commit is contained in:
parent
c44998e77b
commit
d249645c37
|
@ -1,11 +1,9 @@
|
||||||
SELECT
|
SELECT io2.amount,
|
||||||
io2.amount,
|
|
||||||
io2.ref,
|
io2.ref,
|
||||||
io2.issued,
|
io2.issued,
|
||||||
ict.description
|
ict.description
|
||||||
FROM invoiceOut io
|
FROM invoiceOut io
|
||||||
JOIN invoiceCorrection ic ON ic.correctingFk = io.id
|
JOIN invoiceCorrection ic ON ic.correctingFk = io.id
|
||||||
JOIN invoiceOut io2 ON io2.id = ic.correctedFk
|
JOIN invoiceOut io2 ON io2.id = ic.correctedFk
|
||||||
LEFT JOIN ticket t ON t.refFk = io.ref
|
|
||||||
JOIN invoiceCorrectionType ict ON ict.id = ic.invoiceCorrectionTypeFk
|
JOIN invoiceCorrectionType ict ON ict.id = ic.invoiceCorrectionTypeFk
|
||||||
WHERE io.ref = ?
|
WHERE io.ref = ?
|
||||||
|
|
Loading…
Reference in New Issue