From 46488aa60002df15f3fde5435e8372c6738e4e6a Mon Sep 17 00:00:00 2001 From: alexm Date: Thu, 3 Feb 2022 11:52:55 +0100 Subject: [PATCH 1/2] fix(icon): icon-plant --- front/core/styles/icons/salixfont.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/front/core/styles/icons/salixfont.css b/front/core/styles/icons/salixfont.css index ff2eaa1f5..e37ccbc1f 100644 --- a/front/core/styles/icons/salixfont.css +++ b/front/core/styles/icons/salixfont.css @@ -290,7 +290,7 @@ .icon-photo:before { content: "\e924"; } -.icon-planta:before { +.icon-plant:before { content: "\e908"; } .icon-polizon:before { From c260917e20a8a87b65a13823625e4245918609e2 Mon Sep 17 00:00:00 2001 From: joan Date: Fri, 18 Feb 2022 08:49:31 +0100 Subject: [PATCH 2/2] fix(closure): removed transaction --- print/methods/closure/closure.js | 4 ---- 1 file changed, 4 deletions(-) diff --git a/print/methods/closure/closure.js b/print/methods/closure/closure.js index 8cce8237c..2b58205e3 100644 --- a/print/methods/closure/closure.js +++ b/print/methods/closure/closure.js @@ -12,8 +12,6 @@ module.exports = { const failedtickets = []; for (const ticket of tickets) { try { - await db.rawSql('START TRANSACTION'); - await db.rawSql(`CALL vn.ticket_closeByTicket(?)`, [ticket.id]); const invoiceOut = await db.findOne(` @@ -91,9 +89,7 @@ module.exports = { const email = new Email('delivery-note-link', args); await email.send(); } - await db.rawSql('COMMIT'); } catch (error) { - await db.rawSql('ROLLBACK'); // Domain not found if (error.responseCode == 450) return invalidEmail(ticket);