Merge pull request #425 from Oloodi/worker_visibility_settings
Worker visibility settings
This commit is contained in:
@@ -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 } }
|
||||
|
||||
Reference in New Issue
Block a user