adding isProfileVisible for the staff
This commit is contained in:
@@ -551,6 +551,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 } }
|
||||
@@ -581,6 +582,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