mobile app link changed

This commit is contained in:
Sibunnayak 2025-01-28 17:05:51 +05:30
parent 3b96d39973
commit dcd2d04b75
5 changed files with 21 additions and 17 deletions

View File

@ -351,7 +351,7 @@ export const createretaildistributor = async (req, res) => {
<br/> <br/>
<p>For convenience, you can also download our mobile app from the following links:</p> <p>For convenience, you can also download our mobile app from the following links:</p>
<ul> <ul>
<li><a href="https://drive.google.com/file/d/1SO-AgM5-cRRwDGRg9fmxDNTGNTZkBRo6/view?usp=sharing <li><a href="https://drive.google.com/file/d/1v445xo6Ye2lmQ0tsYhd4Wy9XLgbzdwm_/view?usp=sharing
" target="_blank" style="color: #0066cc; text-decoration: none;">Download Mobile Application</a></li> " target="_blank" style="color: #0066cc; text-decoration: none;">Download Mobile Application</a></li>
</ul> </ul>
<br/> <br/>
@ -580,7 +580,7 @@ export const updateKycStatus = async (req, res) => {
<br/> <br/>
<p>For convenience, you can also download our mobile app from the following links:</p> <p>For convenience, you can also download our mobile app from the following links:</p>
<ul> <ul>
<li><a href="https://drive.google.com/file/d/1SO-AgM5-cRRwDGRg9fmxDNTGNTZkBRo6/view?usp=sharing <li><a href="https://drive.google.com/file/d/1v445xo6Ye2lmQ0tsYhd4Wy9XLgbzdwm_/view?usp=sharing
" target="_blank" style="color: #0066cc; text-decoration: none;">Download Mobile Application</a></li> " target="_blank" style="color: #0066cc; text-decoration: none;">Download Mobile Application</a></li>
</ul> </ul>
<br/> <br/>

View File

@ -318,7 +318,7 @@ export const uploadRetaildistributors = async (req, res) => {
<br/> <br/>
<p>For convenience, you can also download our mobile app from the following links:</p> <p>For convenience, you can also download our mobile app from the following links:</p>
<ul> <ul>
<li><a href="https://drive.google.com/file/d/1SO-AgM5-cRRwDGRg9fmxDNTGNTZkBRo6/view?usp=sharing <li><a href="https://drive.google.com/file/d/1v445xo6Ye2lmQ0tsYhd4Wy9XLgbzdwm_/view?usp=sharing
" target="_blank" style="color: #0066cc; text-decoration: none;">Download Mobile Application</a></li> " target="_blank" style="color: #0066cc; text-decoration: none;">Download Mobile Application</a></li>
</ul> </ul>
<br/> <br/>
@ -664,7 +664,7 @@ export const ResetPassword = async (req, res) => {
<p>To log in via our website, please <a href="https://rd.cnapp.co.in/#/login" target="_blank">click here</a>.</p> <p>To log in via our website, please <a href="https://rd.cnapp.co.in/#/login" target="_blank">click here</a>.</p>
<p>To download our mobile app, use the following links:</p> <p>To download our mobile app, use the following links:</p>
<ul> <ul>
<li><a href="https://drive.google.com/file/d/1SO-AgM5-cRRwDGRg9fmxDNTGNTZkBRo6/view?usp=sharing <li><a href="https://drive.google.com/file/d/1v445xo6Ye2lmQ0tsYhd4Wy9XLgbzdwm_/view?usp=sharing
" target="_blank">Download Mobile Application</a></li> " target="_blank">Download Mobile Application</a></li>
</ul> </ul>

View File

@ -245,7 +245,7 @@ export const uploadSalesCoordinators = async (req, res) => {
<br/> <br/>
<p>For convenience, you can also download our mobile app from the following links:</p> <p>For convenience, you can also download our mobile app from the following links:</p>
<ul> <ul>
<li><a href="https://drive.google.com/file/d/1S8oJRz90LImcFBgMrqWZkWXDR79aBoot/view?usp=sharing <li><a href="https://drive.google.com/file/d/1Gg0iqwVux5dMXrfy4FeLd2YayuLaHfoz/view?usp=sharing
" target="_blank" style="color: #0066cc; text-decoration: none;">Download Mobile Application</a></li> " target="_blank" style="color: #0066cc; text-decoration: none;">Download Mobile Application</a></li>
</ul> </ul>
<br/> <br/>
@ -376,7 +376,7 @@ export const verifyOtp = async (req, res) => {
to: `${salesCoordinator?.email}`, // Change to your recipient to: `${salesCoordinator?.email}`, // Change to your recipient
from: `${process.env.SEND_EMAIL_FROM}`, // Change to your verified sender from: `${process.env.SEND_EMAIL_FROM}`, // Change to your verified sender
subject: `Welcome to Cheminova - Account Created Successfully`, subject: `Welcome to Cheminova - Account Created Successfully`,
html: ` html: `
<p>Dear ${name},</p> <p>Dear ${name},</p>
<p>We are pleased to inform you that your Sales Coordinator account has been successfully created. Please find your account details below:</p> <p>We are pleased to inform you that your Sales Coordinator account has been successfully created. Please find your account details below:</p>
<p><strong>Name:</strong> ${name}</p> <p><strong>Name:</strong> ${name}</p>
@ -389,7 +389,7 @@ export const verifyOtp = async (req, res) => {
<br/> <br/>
<p>For convenience, you can also download our mobile app from the following links:</p> <p>For convenience, you can also download our mobile app from the following links:</p>
<ul> <ul>
<li><a href="https://drive.google.com/file/d/1S8oJRz90LImcFBgMrqWZkWXDR79aBoot/view?usp=sharing <li><a href="https://drive.google.com/file/d/1Gg0iqwVux5dMXrfy4FeLd2YayuLaHfoz/view?usp=sharing
" target="_blank" style="color: #0066cc; text-decoration: none;">Download Mobile Application</a></li> " target="_blank" style="color: #0066cc; text-decoration: none;">Download Mobile Application</a></li>
</ul> </ul>
<br/> <br/>
@ -795,7 +795,7 @@ export const ResetPassword = async (req, res) => {
<br/> <br/>
<p>To download our mobile app, use the following links:</p> <p>To download our mobile app, use the following links:</p>
<ul> <ul>
<li><a href="https://drive.google.com/file/d/1S8oJRz90LImcFBgMrqWZkWXDR79aBoot/view?usp=sharing <li><a href="https://drive.google.com/file/d/1Gg0iqwVux5dMXrfy4FeLd2YayuLaHfoz/view?usp=sharing
" target="_blank">Download Mobile Application</a></li> " target="_blank">Download Mobile Application</a></li>
</ul> </ul>
<br/> <br/>

View File

@ -241,7 +241,7 @@ export const uploadTerritoryManagers = async (req, res) => {
<br/> <br/>
<p>For convenience, you can also download our mobile app from the following links:</p> <p>For convenience, you can also download our mobile app from the following links:</p>
<ul> <ul>
<li><a href="https://drive.google.com/file/d/1GtG1ugGR2sIq2T23uMMvf-0jKGL1nh_n/view?usp=sharing" target="_blank" style="color: #0066cc; text-decoration: none;">Download Mobile Application</a></li> <li><a href="https://drive.google.com/file/d/1peFo-znMoxOv7XTmHfDX1F55UkjTvueo/view?usp=sharing " target="_blank" style="color: #0066cc; text-decoration: none;">Download Mobile Application</a></li>
</ul> </ul>
<br/> <br/>
<p>If you have not requested this email or have any concerns, please contact our support team immediately.</p> <p>If you have not requested this email or have any concerns, please contact our support team immediately.</p>
@ -378,7 +378,7 @@ export const verifyOtp = async (req, res) => {
<br/> <br/>
<p>For convenience, you can also download our mobile app from the following links:</p> <p>For convenience, you can also download our mobile app from the following links:</p>
<ul> <ul>
<li><a href="https://drive.google.com/file/d/1GtG1ugGR2sIq2T23uMMvf-0jKGL1nh_n/view?usp=sharing" target="_blank" style="color: #0066cc; text-decoration: none;">Download Mobile Application</a></li> <li><a href="https://drive.google.com/file/d/1peFo-znMoxOv7XTmHfDX1F55UkjTvueo/view?usp=sharing " target="_blank" style="color: #0066cc; text-decoration: none;">Download Mobile Application</a></li>
</ul> </ul>
<br/> <br/>
<p>If you have not requested this email or have any concerns, please contact our support team immediately.</p> <p>If you have not requested this email or have any concerns, please contact our support team immediately.</p>
@ -641,7 +641,7 @@ export const ResetPassword = async (req, res) => {
<br/> <br/>
<p>To download our mobile app, use the following links:</p> <p>To download our mobile app, use the following links:</p>
<ul> <ul>
<li><a href="https://drive.google.com/file/d/1GtG1ugGR2sIq2T23uMMvf-0jKGL1nh_n/view?usp=sharing " target="_blank">Download Mobile Application</a></li> <li><a href="https://drive.google.com/file/d/1peFo-znMoxOv7XTmHfDX1F55UkjTvueo/view?usp=sharing " target="_blank">Download Mobile Application</a></li>
</ul> </ul>
<br/> <br/>
<p>If you did not request this change, please contact our support team immediately.</p> <p>If you did not request this change, please contact our support team immediately.</p>

View File

@ -349,7 +349,7 @@ export const uploadPrincipaldistributors = async (req, res) => {
<br/> <br/>
<p>For convenience, you can also download our mobile app from the following links:</p> <p>For convenience, you can also download our mobile app from the following links:</p>
<ul> <ul>
<li><a href="https://drive.google.com/file/d/1GOpyyEwfbE0cMzvHHx0Fr7UOFzrQVIlp/view?usp=sharing <li><a href="https://drive.google.com/file/d/1aJmBXyKojODhBnOWfdlY810ipFqxebmL/view?usp=sharing
" target="_blank" style="color: #0066cc; text-decoration: none;">Download Mobile Application</a></li> " target="_blank" style="color: #0066cc; text-decoration: none;">Download Mobile Application</a></li>
</ul> </ul>
<br/> <br/>
@ -472,7 +472,7 @@ export const registerUser = async (req, res) => {
<br/> <br/>
<p>For convenience, you can also download our mobile app from the following links:</p> <p>For convenience, you can also download our mobile app from the following links:</p>
<ul> <ul>
<li><a href="https://drive.google.com/file/d/1GOpyyEwfbE0cMzvHHx0Fr7UOFzrQVIlp/view?usp=sharing <li><a href="https://drive.google.com/file/d/1aJmBXyKojODhBnOWfdlY810ipFqxebmL/view?usp=sharing
" target="_blank" style="color: #0066cc; text-decoration: none;">Download Mobile Application</a></li> " target="_blank" style="color: #0066cc; text-decoration: none;">Download Mobile Application</a></li>
</ul> </ul>
<br/> <br/>
@ -502,13 +502,17 @@ export const UpdateUser = async (req, res) => {
// Check if ID is provided and valid // Check if ID is provided and valid
if (!id) { if (!id) {
return res.status(400).json({ success: false, message: "User ID is required" }); return res
.status(400)
.json({ success: false, message: "User ID is required" });
} }
// Find the user by ID // Find the user by ID
let user = await User.findById(id); let user = await User.findById(id);
if (!user) { if (!user) {
return res.status(404).json({ success: false, message: "User not found" }); return res
.status(404)
.json({ success: false, message: "User not found" });
} }
// Update user details only if provided // Update user details only if provided
@ -542,7 +546,7 @@ export const UpdateUser = async (req, res) => {
<br/> <br/>
<p>For convenience, you can also download our mobile app from the following link:</p> <p>For convenience, you can also download our mobile app from the following link:</p>
<ul> <ul>
<li><a href="https://drive.google.com/file/d/1GOpyyEwfbE0cMzvHHx0Fr7UOFzrQVIlp/view?usp=sharing" target="_blank" style="color: #0066cc; text-decoration: none;">Download Mobile Application</a></li> <li><a href="https://drive.google.com/file/d/1aJmBXyKojODhBnOWfdlY810ipFqxebmL/view?usp=sharing" target="_blank" style="color: #0066cc; text-decoration: none;">Download Mobile Application</a></li>
</ul> </ul>
<br/> <br/>
<p>If you did not request this update or have any concerns, please contact our support team immediately.</p> <p>If you did not request this update or have any concerns, please contact our support team immediately.</p>
@ -709,7 +713,7 @@ export const ResetPasswordAdmin = async (req, res) => {
" target="_blank">click here</a>.</p> " target="_blank">click here</a>.</p>
<p>To download our mobile app, use the following links:</p> <p>To download our mobile app, use the following links:</p>
<ul> <ul>
<li><a href="https://drive.google.com/file/d/1GOpyyEwfbE0cMzvHHx0Fr7UOFzrQVIlp/view?usp=sharing <li><a href="https://drive.google.com/file/d/1aJmBXyKojODhBnOWfdlY810ipFqxebmL/view?usp=sharing
" target="_blank">Download Mobile APplication</a></li> " target="_blank">Download Mobile APplication</a></li>
</ul> </ul>
<br/> <br/>