feat: dont inactive the old suport plan and after pay the invoice make it inactive

This commit is contained in:
mahyargdz
2025-05-07 11:44:04 +03:30
parent a0d916ae69
commit 9cd28e8130
5 changed files with 13 additions and 6 deletions
@@ -492,7 +492,7 @@ export class NotificationsService {
async createNewCustomerNotification(recipientId: string, data: INewCustomerNotificationData, queryRunner: QueryRunner) {
const message = NotificationMessage.NEW_CUSTOMER_MESSAGE.replace("[fullName]", data.fullName);
await this.smsService.sendNewCustomerSms(data.userPhone, data.fullName);
await this.smsService.sendNewCustomerSms(data.userPhone, data.mobile, data.fullName);
if (data.userEmail) {
await this.emailService.sendAdminNotificationEmail({
userEmail: data.userEmail,