added validation for confirmed purcharse requests
gitea/salix/dev This commit has test failures
Details
gitea/salix/dev This commit has test failures
Details
This commit is contained in:
parent
72017a64ac
commit
55f3390f85
|
@ -40,7 +40,8 @@ module.exports = function(Self) {
|
||||||
}, options);
|
}, options);
|
||||||
|
|
||||||
const hasPurchaseRequests = await models.TicketRequest.count({
|
const hasPurchaseRequests = await models.TicketRequest.count({
|
||||||
ticketFk: id
|
ticketFk: id,
|
||||||
|
isOk: true
|
||||||
}, options);
|
}, options);
|
||||||
|
|
||||||
const isEmpty = !hasSales && !hasPackages &&
|
const isEmpty = !hasSales && !hasPackages &&
|
||||||
|
|
Loading…
Reference in New Issue