From 7c7c64415db99e81d62be0f9db384d50a7a7b6ad Mon Sep 17 00:00:00 2001 From: alexm Date: Tue, 31 May 2022 12:00:15 +0200 Subject: [PATCH] fix(monitor_ticket): add isTooLittle problem --- modules/monitor/back/methods/sales-monitor/salesFilter.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/modules/monitor/back/methods/sales-monitor/salesFilter.js b/modules/monitor/back/methods/sales-monitor/salesFilter.js index 4521b2351..9b6030e9f 100644 --- a/modules/monitor/back/methods/sales-monitor/salesFilter.js +++ b/modules/monitor/back/methods/sales-monitor/salesFilter.js @@ -304,7 +304,8 @@ module.exports = Self => { {'tp.hasTicketRequest': true}, {'tp.hasComponentLack': true}, {'tp.isTaxDataChecked': false}, - {'tp.itemShortage': {neq: null}} + {'tp.itemShortage': {neq: null}}, + {'tp.isTooLittle': true} ]}; } else if (hasProblems === false) { whereProblems = {and: [ @@ -313,7 +314,8 @@ module.exports = Self => { {'tp.hasTicketRequest': false}, {'tp.hasComponentLack': false}, {'tp.isTaxDataChecked': true}, - {'tp.itemShortage': null} + {'tp.itemShortage': null}, + {'tp.isTooLittle': false} ]}; }