validation if a hug has orders

This commit is contained in:
José Salazar
2026-01-29 18:12:16 -05:00
parent 34546f9b2a
commit da8b7d2627
2 changed files with 20 additions and 0 deletions

View File

@@ -404,6 +404,7 @@ query listOrdersByBusinessAndTeamHub(
where: {
businessId: { eq: $businessId }
teamHubId: { eq: $teamHubId }
#status: {in: [ DRAFT POSTED FILLED PENDING FULLY_STAFFED PARTIAL_STAFFED ] }
}
offset: $offset
limit: $limit