diff --git a/src/modules/host/services/activityScheduling.service.ts b/src/modules/host/services/activityScheduling.service.ts index 756bc7f..6f858b1 100644 --- a/src/modules/host/services/activityScheduling.service.ts +++ b/src/modules/host/services/activityScheduling.service.ts @@ -305,6 +305,7 @@ export class SchedulingService { activityDisplayStatus: true, activityInternalStatus: true, ActivitiesMedia: { + where: { isActive: true }, select: { id: true, mediaFileName: true, @@ -353,11 +354,13 @@ export class SchedulingService { activityTitle: true, activityRefNumber: true, ActivityVenues: { + where: { isActive: true }, select: { id: true, venueName: true, venueLabel: true, ScheduleHeader: { + where: { isActive: true }, select: { id: true, scheduleType: true, @@ -366,6 +369,7 @@ export class SchedulingService { earlyCheckInMins: true, bookingCutOffMins: true, ScheduleDetails: { + where: { isActive: true }, select: { id: true, occurenceDate: true, @@ -376,6 +380,7 @@ export class SchedulingService { } }, Cancellations: { + where: { isActive: true }, select: { id: true, slotXid: true, @@ -393,12 +398,14 @@ export class SchedulingService { } }, scheduleOccurences: { + where: { isActive: true }, select: { id: true, occurenceDate: true } }, scheduleRecurrences: { + where: { isActive: true }, select: { id: true, weekDay: true, @@ -410,6 +417,7 @@ export class SchedulingService { } }, ActivitiesMedia: { + where: { isActive: true }, select: { id: true, mediaFileName: true,