From ed88a5b25f807fd83e40cb73bfef9b3bacc4668f Mon Sep 17 00:00:00 2001 From: guillermo Date: Thu, 10 Aug 2023 07:54:49 +0200 Subject: [PATCH] refs #5995 Minor change --- modules/route/back/methods/route/getExternalCmrs.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/route/back/methods/route/getExternalCmrs.js b/modules/route/back/methods/route/getExternalCmrs.js index 4947aeffa..a232b98cd 100644 --- a/modules/route/back/methods/route/getExternalCmrs.js +++ b/modules/route/back/methods/route/getExternalCmrs.js @@ -101,7 +101,7 @@ module.exports = Self => { t.id ticketFk, co.country, t.clientFk, - IF(sub.id, TRUE, FALSE) hasCmrDms, + sub.id hasCmrDms, DATE(t.shipped) shipped FROM ticket t JOIN ticketState ts ON ts.ticketFk = t.id