From 85761043cde0e9132373912174ba20ab752247b7 Mon Sep 17 00:00:00 2001 From: Bernat Date: Wed, 29 May 2019 11:15:08 +0200 Subject: [PATCH] delete console.log --- modules/ticket/back/methods/sale/updateDiscount.js | 1 - 1 file changed, 1 deletion(-) diff --git a/modules/ticket/back/methods/sale/updateDiscount.js b/modules/ticket/back/methods/sale/updateDiscount.js index 1539a4283..b5811085c 100644 --- a/modules/ticket/back/methods/sale/updateDiscount.js +++ b/modules/ticket/back/methods/sale/updateDiscount.js @@ -50,7 +50,6 @@ module.exports = Self => { let buyerDiscount = await model.ComponentRate.findOne({where: {code: 'buyerDiscount'}}); let usesMana = await model.WorkerMana.findOne({where: {workerFk: ticket.client().salesPersonFk}, fields: 'amount'}); let componentId = buyerDiscount.id; - console.log(usesMana); if (usesMana) { manaDiscount = await model.ComponentRate.findOne({where: {code: 'mana'}}); componentId = manaDiscount.id;