8267-devToTest #3270
|
@ -265,7 +265,8 @@ module.exports = Self => {
|
||||||
FROM sale s2
|
FROM sale s2
|
||||||
JOIN item i2 ON i2.id = s2.itemFk
|
JOIN item i2 ON i2.id = s2.itemFk
|
||||||
WHERE s2.ticketFk = t.id
|
WHERE s2.ticketFk = t.id
|
||||||
) AS packing
|
) AS packing,
|
||||||
|
c.credit
|
||||||
FROM ticket t
|
FROM ticket t
|
||||||
LEFT JOIN invoiceOut io ON t.refFk = io.ref
|
LEFT JOIN invoiceOut io ON t.refFk = io.ref
|
||||||
LEFT JOIN zone z ON z.id = t.zoneFk
|
LEFT JOIN zone z ON z.id = t.zoneFk
|
||||||
|
|
Loading…
Reference in New Issue