From bad3200b2158bb2721ea1910f4522a098d2bab2b Mon Sep 17 00:00:00 2001 From: Joan Sanchez Date: Wed, 1 May 2019 19:34:08 +0200 Subject: [PATCH] renamed dmsTicket to ticketDms --- print/report/rpt-delivery-note/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/print/report/rpt-delivery-note/index.js b/print/report/rpt-delivery-note/index.js index 410b149c9..b282898a5 100755 --- a/print/report/rpt-delivery-note/index.js +++ b/print/report/rpt-delivery-note/index.js @@ -188,7 +188,7 @@ module.exports = { d.id, d.created FROM ticket t - JOIN dmsTicket dt ON dt.ticketFk = t.id + JOIN ticketDms dt ON dt.ticketFk = t.id JOIN dms d ON d.id = dt.dmsFk AND d.file LIKE '%.png' WHERE t.id = ?`, [ticketFk]);