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);
|
||||
|
||||
const hasPurchaseRequests = await models.TicketRequest.count({
|
||||
ticketFk: id
|
||||
ticketFk: id,
|
||||
isOk: true
|
||||
}, options);
|
||||
|
||||
const isEmpty = !hasSales && !hasPackages &&
|
||||
|
|
Loading…
Reference in New Issue