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
+2 -2
View File
@@ -666,11 +666,11 @@ export class SmsService {
}
//************************************************* */
async sendNewCustomerSms(mobile: string, fullName: string) {
async sendNewCustomerSms(mobile: string, newCustomerMobile: string, fullName: string) {
const smsData: ISmsVerifyBody = {
Parameters: [
{ name: "fullName", value: fullName },
{ name: "mobile", value: mobile },
{ name: "mobile", value: newCustomerMobile },
],
Mobile: mobile,
TemplateId: this.smsConfigs.SMS_PATTERN_NEW_CUSTOMER,