From 86def6e2120dfe474ee51319811f797c582f46b1 Mon Sep 17 00:00:00 2001 From: guillermo Date: Mon, 21 Aug 2023 08:47:28 +0200 Subject: [PATCH] refs #5995 Changed query getExternalCmrs --- 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 5b08cf34a..7b3772c9e 100644 --- a/modules/route/back/methods/route/getExternalCmrs.js +++ b/modules/route/back/methods/route/getExternalCmrs.js @@ -95,7 +95,7 @@ module.exports = Self => { t.id ticketFk, co.country, t.clientFk, - sub.id hasCmrDms, + IF(sub.id, TRUE, FALSE) hasCmrDms, DATE(t.shipped) shipped FROM ticket t JOIN ticketState ts ON ts.ticketFk = t.id