Merge pull request '3587-ticket_isEmpty' (#871) from 3587-ticket_isEmpty into dev
gitea/salix/pipeline/head This commit looks good Details

Reviewed-on: #871
Reviewed-by: Carlos Jimenez Ruiz <carlosjr@verdnatura.es>
This commit is contained in:
Carlos Jimenez Ruiz 2022-02-04 12:02:33 +00:00
commit 912ea12ff7
2 changed files with 2 additions and 3 deletions

View File

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

View File

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