chore: add discount logic to apply to the plan price and ...

This commit is contained in:
mahyargdz
2025-04-19 12:36:33 +03:30
parent f9e44fc29a
commit bf3402cc7a
8 changed files with 144 additions and 20 deletions
@@ -202,6 +202,7 @@ export class SubscriptionsService {
where: { id: subscribeDto.planId, service: { id: serviceId } },
relations: {
service: true,
directDiscount: true,
},
});