refs #5995 Changed query getExternalCmrs #1710

Merged
guillermo merged 1 commits from 5995-queryExternalCmr into master 2023-08-21 07:30:00 +00:00
1 changed files with 1 additions and 1 deletions

View File

@ -95,7 +95,7 @@ module.exports = Self => {
t.id ticketFk, t.id ticketFk,
co.country, co.country,
t.clientFk, t.clientFk,
sub.id hasCmrDms, IF(sub.id, TRUE, FALSE) hasCmrDms,
DATE(t.shipped) shipped DATE(t.shipped) shipped
FROM ticket t FROM ticket t
JOIN ticketState ts ON ts.ticketFk = t.id JOIN ticketState ts ON ts.ticketFk = t.id