Merge pull request 'MASTER-4141-fix(monitor_ticket): add isTooLittle problem' (#988) from 4141-monitor_ticket_problems into master
gitea/salix/pipeline/head This commit looks good Details

Reviewed-on: #988
This commit is contained in:
Joan Sanchez 2022-05-31 11:37:27 +00:00
commit 54fdcb354f
1 changed files with 4 additions and 2 deletions

View File

@ -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}
]};
}