Merge pull request 'feat: refs #8138 reduce credit on risk' (!3215) from 8138-feat-reduce-credit-on-risk into dev
gitea/salix/pipeline/head This commit looks good
Details
gitea/salix/pipeline/head This commit looks good
Details
Reviewed-on: #3215 Reviewed-by: Carlos Andrés <carlosap@verdnatura.es>
This commit is contained in:
commit
cde3c8c50a
|
@ -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