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 {
|
||||
content: "\e924";
|
||||
}
|
||||
.icon-planta:before {
|
||||
.icon-plant:before {
|
||||
content: "\e908";
|
||||
}
|
||||
.icon-polizon:before {
|
||||
|
|
|
@ -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 &&
|
||||
|
|
Loading…
Reference in New Issue