| Line 45... |
Line 45... |
| 45 |
"<strong>Address:</strong><br>" +
|
45 |
"<strong>Address:</strong><br>" +
|
| 46 |
trialForm.getAddressLine1() + "<br>" +
|
46 |
trialForm.getAddressLine1() + "<br>" +
|
| 47 |
(trialForm.getAddressLine2() != null ? trialForm.getAddressLine2() + "<br>" : "") +
|
47 |
(trialForm.getAddressLine2() != null ? trialForm.getAddressLine2() + "<br>" : "") +
|
| 48 |
trialForm.getCity() + ", " + trialForm.getState() + " - " + trialForm.getPincode() + "<br><br>" +
|
48 |
trialForm.getCity() + ", " + trialForm.getState() + " - " + trialForm.getPincode() + "<br><br>" +
|
| 49 |
"<strong>Required Actions:</strong><br>" +
|
49 |
"<strong>Required Actions:</strong><br>" +
|
| 50 |
" Verify Details: Validate KYC documents and basic business information.<br>" +
|
50 |
" 1. Verify Details: Validate KYC documents and basic business information.<br>" +
|
| 51 |
" Assess Potential: Check the location feasibility and estimated sales potential.<br>" +
|
51 |
" 2. Assess Potential: Check the location feasibility and estimated sales potential.<br>" +
|
| 52 |
" Assign Territory: Assign the appropriate Area Sales Manager (ASM) and Business Manager (BM) in the system.<br><br>" +
|
52 |
" 3. Assign Territory: Assign the appropriate Area Sales Manager (ASM) and Business Manager (BM) in the system.<br><br>" +
|
| 53 |
"Regards,<br>SmartDukaan Team";
|
53 |
"Regards,<br>SmartDukaan Team";
|
| 54 |
|
54 |
|
| 55 |
String[] emailTo = {"kamini.sharma@smartdukaan.com"};
|
55 |
String[] emailTo = {"kamini.sharma@smartdukaan.com"};
|
| 56 |
// String[] emailTo = {"aman.gupta@smartdukaan.com"};
|
56 |
// String[] emailTo = {"aman.gupta@smartdukaan.com"};
|
| 57 |
String[] cc = {"vaibhav.tandon@smartdukaan.com"};
|
57 |
String[] cc = {"vaibhav.tandon@smartdukaan.com"};
|
| Line 72... |
Line 72... |
| 72 |
"<strong>Current Status:</strong> <strong>Verification In Progress</strong><br><br>" +
|
72 |
"<strong>Current Status:</strong> <strong>Verification In Progress</strong><br><br>" +
|
| 73 |
"Aapki application process ho rahi hai. Account activate karne ke liye, humari team aapke " +
|
73 |
"Aapki application process ho rahi hai. Account activate karne ke liye, humari team aapke " +
|
| 74 |
"submit kiye gaye documents, business potential aur location verify kar rahi hai.<br><br>" +
|
74 |
"submit kiye gaye documents, business potential aur location verify kar rahi hai.<br><br>" +
|
| 75 |
|
75 |
|
| 76 |
"<strong>What’s Next?</strong><br>" +
|
76 |
"<strong>What’s Next?</strong><br>" +
|
| 77 |
" Verification process complete ki jaayegi. (Approx. 48 hours)<br>" +
|
77 |
" 1. Verification process complete ki jaayegi. (Approx. 48 hours)<br>" +
|
| 78 |
"Account approve hote hi, aapke <strong>registered email</strong> par Login ID, Password, " +
|
78 |
" 2. Account approve hote hi, aapke <strong>registered email</strong> par Login ID, Password, " +
|
| 79 |
"aur saari details bhej di jaayengi.<br>" +
|
79 |
"aur saari details bhej di jaayengi.<br>" +
|
| 80 |
"Login karte hi aapka <strong>30-Day Free Trial activate</strong> ho jaayega. <br><br>" +
|
80 |
" 3. Login karte hi aapka <strong>30-Day Free Trial activate</strong> ho jaayega. <br><br>" +
|
| 81 |
|
- |
|
| - |
|
81 |
"Aur jaankaari ya kisi bhi sahayata ke liye, turant contact kariye" +
|
| 82 |
"<strong>Support:</strong><br>" +
|
82 |
"<strong>Support:</strong><br>" +
|
| 83 |
" 1800-270-0273<br>" +
|
83 |
" 1800-270-0273<br>" +
|
| 84 |
"✉ helpdesk@smartdukaan.com<br><br>" +
|
84 |
"Ya e-mail kariye :<strong> care@smartdukaan.com </strong><br><br>" +
|
| 85 |
|
- |
|
| 86 |
"Thank you for choosing <strong>SmartDukaan</strong>.<br>" +
|
85 |
"Thank you for choosing <strong>SmartDukaan</strong>" +
|
| 87 |
"We will reach out to you shortly.<br><br>" +
|
86 |
"We will reach out to you shortly.<br><br>" +
|
| 88 |
"Regards,<br>" +
|
87 |
"Regards,<br>" +
|
| 89 |
"Team SmartDukaan";
|
88 |
"Team SmartDukaan";
|
| 90 |
|
89 |
|
| 91 |
String[] emailTo = {trialForm.getEmail()};
|
90 |
String[] emailTo = {trialForm.getEmail()};
|
| Line 114... |
Line 113... |
| 114 |
trialForm.getAddressLine1() + "<br>" +
|
113 |
trialForm.getAddressLine1() + "<br>" +
|
| 115 |
(trialForm.getAddressLine2() != null ? trialForm.getAddressLine2() + "<br>" : "") +
|
114 |
(trialForm.getAddressLine2() != null ? trialForm.getAddressLine2() + "<br>" : "") +
|
| 116 |
trialForm.getCity() + ", " + trialForm.getState() + " - " + trialForm.getPincode() + "<br><br>" +
|
115 |
trialForm.getCity() + ", " + trialForm.getState() + " - " + trialForm.getPincode() + "<br><br>" +
|
| 117 |
"<strong>Strategic Objective:</strong> The partner has expressed initial interest. Your goal is to move them beyond trial onboarding.<br><br>" +
|
116 |
"<strong>Strategic Objective:</strong> The partner has expressed initial interest. Your goal is to move them beyond trial onboarding.<br><br>" +
|
| 118 |
"<strong>Next Steps:</strong><br>" +
|
117 |
"<strong>Next Steps:</strong><br>" +
|
| 119 |
" Contact Immediately: Call or visit the store within the next 24 hours.<br>" +
|
118 |
" 1. Contact Immediately: Call or visit the store within the next 24 hours.<br>" +
|
| 120 |
" The Pitch: Explain the SmartDukaan ecosystem and pitch the Full Franchise Partner Model. Emphasize the long-term higher margins, income boost, brand access, tech support, and branding benefits over the trial version.<br>" +
|
119 |
" 2. The Pitch: Explain the SmartDukaan ecosystem and pitch the Full Franchise Partner Model. Emphasize the long-term higher margins, income boost, brand access, tech support, and branding benefits over the trial version.<br>" +
|
| 121 |
" Update Status: Log your interaction and the partner's interest level in the app immediately after the meeting.<br><br>" +
|
120 |
" 3. Update Status: Log your interaction and the partner's interest level in the app immediately after the meeting.<br><br>" +
|
| 122 |
"Good Luck,<br>" +
|
121 |
"Good Luck,<br>" +
|
| 123 |
"Regards,<br>SmartDukaan Team";
|
122 |
"Regards,<br>SmartDukaan Team";
|
| 124 |
|
123 |
|
| 125 |
List<AuthUser> salesAuthUserList = csService.getAuthUserIds(ProfitMandiConstants.TICKET_CATEGORY_SALES, Arrays.asList(EscalationType.L3, EscalationType.L4, EscalationType.L5));
|
124 |
List<AuthUser> salesAuthUserList = csService.getAuthUserIds(ProfitMandiConstants.TICKET_CATEGORY_SALES, Arrays.asList(EscalationType.L3, EscalationType.L4, EscalationType.L5));
|
| 126 |
List<String> salesEmailList = new ArrayList<>();
|
125 |
List<String> salesEmailList = new ArrayList<>();
|
| Line 243... |
Line 242... |
| 243 |
"<strong>Action Required:</strong><br>" +
|
242 |
"<strong>Action Required:</strong><br>" +
|
| 244 |
"Please review the user's profile and initiate the verification/onboarding process immediately.<br><br>" +
|
243 |
"Please review the user's profile and initiate the verification/onboarding process immediately.<br><br>" +
|
| 245 |
|
244 |
|
| 246 |
"Best,<br>" +
|
245 |
"Best,<br>" +
|
| 247 |
"SmartDukaan System";
|
246 |
"SmartDukaan System";
|
| - |
|
247 |
List<AuthUser> salesAuthUserList = csService.getAuthUserIds(ProfitMandiConstants.TICKET_CATEGORY_SALES, Arrays.asList(EscalationType.L3, EscalationType.L4, EscalationType.L5));
|
| - |
|
248 |
List<String> salesEmailList = new ArrayList<>();
|
| - |
|
249 |
for (AuthUser authUser : salesAuthUserList) {
|
| - |
|
250 |
if (authUser.getEmailId() != null && !authUser.getEmailId().trim().isEmpty()) {
|
| - |
|
251 |
salesEmailList.add(authUser.getEmailId());
|
| - |
|
252 |
}
|
| - |
|
253 |
}
|
| - |
|
254 |
AuthUser bmAuthUser = authRepository.selectById(trialForm.getBmId());
|
| - |
|
255 |
AuthUser asmAuthUser = authRepository.selectById(trialForm.getAsmId());
|
| 248 |
|
256 |
|
| 249 |
String[] emailTo = {"internal-team@smartdukaan.com"};
|
257 |
String[] emailTo = new String[]{bmAuthUser.getEmailId()};
|
| - |
|
258 |
List<String> ccList = new ArrayList<>(salesEmailList);
|
| - |
|
259 |
ccList.add(asmAuthUser.getEmailId());
|
| 250 |
String[] cc = {};
|
260 |
String[] cc = ccList.stream()
|
| 251 |
|
- |
|
| - |
|
261 |
.filter(email -> !email.trim().isEmpty())
|
| - |
|
262 |
.toArray(String[]::new);
|
| 252 |
Utils.sendMailWithAttachments(
|
263 |
Utils.sendMailWithAttachments(
|
| 253 |
mailSender,
|
264 |
mailSender,
|
| 254 |
emailTo,
|
265 |
emailTo,
|
| 255 |
cc,
|
266 |
cc,
|
| 256 |
"Franchise Upgrade Request - " + applicantName + ", " + trialForm.getBusinessName(),
|
267 |
"Franchise Upgrade Request - " + applicantName + ", " + trialForm.getBusinessName(),
|