3587-ticket_isEmpty #871

Merged
carlosjr merged 3 commits from 3587-ticket_isEmpty into dev 2022-02-04 12:02:35 +00:00
2 changed files with 2 additions and 3 deletions

View File

@ -297,7 +297,7 @@
.icon-photo:before {
content: "\e924";
}
.icon-planta:before {
.icon-plant:before {
content: "\e908";
}
.icon-polizon:before {

View File

@ -42,8 +42,7 @@ module.exports = function(Self) {
}, myOptions);
const hasPurchaseRequests = await models.TicketRequest.count({
ticketFk: id,
isOk: true
ticketFk: id
}, myOptions);
const isEmpty = !hasSales && !hasPackages &&