Merge pull request #425 from Oloodi/worker_visibility_settings

Worker visibility settings
This commit is contained in:
José Salazar
2026-02-16 15:04:46 -05:00
committed by GitHub
5 changed files with 671 additions and 713 deletions

View File

@@ -554,6 +554,7 @@ query listAcceptedApplicationsByBusinessForDay(
applications(
where: {
status: { in: [ CONFIRMED, CHECKED_IN, CHECKED_OUT, LATE] }
staff: { isProfileVisible: { eq: true } }
shift: {
date: { ge: $dayStart, le: $dayEnd }
order: { businessId: { eq: $businessId } }
@@ -584,6 +585,7 @@ query listStaffsApplicationsByBusinessForDay(
applications(
where: {
status: {in: [ CONFIRMED, CHECKED_IN, CHECKED_OUT, LATE]}
staff: { isProfileVisible: { eq: true } }
shift: {
date: { ge: $dayStart, le: $dayEnd }
order: { businessId: { eq: $businessId } }