From 5ce3dd37802708e94ee5e8979c93782d17dbe71e Mon Sep 17 00:00:00 2001 From: Mayank Mishra Date: Tue, 30 Dec 2025 16:59:40 +0530 Subject: [PATCH] Added foodcost and venue taxes in the get api --- src/modules/host/services/host.service.ts | 31 +++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/src/modules/host/services/host.service.ts b/src/modules/host/services/host.service.ts index 18e3ba0..d71e243 100644 --- a/src/modules/host/services/host.service.ts +++ b/src/modules/host/services/host.service.ts @@ -1799,6 +1799,28 @@ export class HostService { sessionValidity: true, sessionValidityFrequency: true, sellPrice: true, + ActivityPriceTaxes: { + select: { + id: true, + taxXid: true, + taxPer: true, + taxes: { + select: { + id: true, + countryXid: true, + country: { + select: { + countryName: true, + countryCode: true, + countryFlag: true + } + }, + taxName: true, + taxPer: true, + } + } + } + } }, }, }, @@ -1845,6 +1867,15 @@ export class HostService { }, }, }, + ActivityFoodCost: { + where: { + isActive: true + }, + select: { + id: true, + totalAmount: true + } + }, activityCuisines: { where: { isActive: true,