Merge pull request '3587-ticket_isEmpty' (#871) from 3587-ticket_isEmpty into dev
gitea/salix/pipeline/head This commit looks good
Details
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:
commit
912ea12ff7
|
@ -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 {
|
||||||
|
|
|
@ -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 &&
|
||||||
|
|
Loading…
Reference in New Issue