From dcd2d04b75ff29adce3cee0813e35c362d960964 Mon Sep 17 00:00:00 2001 From: Sibunnayak Date: Tue, 28 Jan 2025 17:05:51 +0530 Subject: [PATCH] mobile app link changed --- resources/KYC/KycController.js | 4 ++-- .../RetailDistributorController.js | 4 ++-- .../SalesCoOrdinatorController.js | 8 ++++---- .../TerritoryManagerController.js | 6 +++--- resources/user/userController.js | 16 ++++++++++------ 5 files changed, 21 insertions(+), 17 deletions(-) diff --git a/resources/KYC/KycController.js b/resources/KYC/KycController.js index 23ccc2e..35279fa 100644 --- a/resources/KYC/KycController.js +++ b/resources/KYC/KycController.js @@ -351,7 +351,7 @@ export const createretaildistributor = async (req, res) => {

For convenience, you can also download our mobile app from the following links:


@@ -580,7 +580,7 @@ export const updateKycStatus = async (req, res) => {

For convenience, you can also download our mobile app from the following links:


diff --git a/resources/RetailDistributor/RetailDistributorController.js b/resources/RetailDistributor/RetailDistributorController.js index 6c58ada..750367e 100644 --- a/resources/RetailDistributor/RetailDistributorController.js +++ b/resources/RetailDistributor/RetailDistributorController.js @@ -318,7 +318,7 @@ export const uploadRetaildistributors = async (req, res) => {

For convenience, you can also download our mobile app from the following links:


@@ -664,7 +664,7 @@ export const ResetPassword = async (req, res) => {

To log in via our website, please click here.

To download our mobile app, use the following links:

diff --git a/resources/SalesCoOrdinators/SalesCoOrdinatorController.js b/resources/SalesCoOrdinators/SalesCoOrdinatorController.js index 796dfe9..034d585 100644 --- a/resources/SalesCoOrdinators/SalesCoOrdinatorController.js +++ b/resources/SalesCoOrdinators/SalesCoOrdinatorController.js @@ -245,7 +245,7 @@ export const uploadSalesCoordinators = async (req, res) => {

For convenience, you can also download our mobile app from the following links:


@@ -376,7 +376,7 @@ export const verifyOtp = async (req, res) => { to: `${salesCoordinator?.email}`, // Change to your recipient from: `${process.env.SEND_EMAIL_FROM}`, // Change to your verified sender subject: `Welcome to Cheminova - Account Created Successfully`, - html: ` + html: `

Dear ${name},

We are pleased to inform you that your Sales Coordinator account has been successfully created. Please find your account details below:

Name: ${name}

@@ -389,7 +389,7 @@ export const verifyOtp = async (req, res) => {

For convenience, you can also download our mobile app from the following links:


@@ -795,7 +795,7 @@ export const ResetPassword = async (req, res) => {

To download our mobile app, use the following links:


diff --git a/resources/TerritoryManagers/TerritoryManagerController.js b/resources/TerritoryManagers/TerritoryManagerController.js index 460a272..61d1e3e 100644 --- a/resources/TerritoryManagers/TerritoryManagerController.js +++ b/resources/TerritoryManagers/TerritoryManagerController.js @@ -241,7 +241,7 @@ export const uploadTerritoryManagers = async (req, res) => {

For convenience, you can also download our mobile app from the following links:


If you have not requested this email or have any concerns, please contact our support team immediately.

@@ -378,7 +378,7 @@ export const verifyOtp = async (req, res) => {

For convenience, you can also download our mobile app from the following links:


If you have not requested this email or have any concerns, please contact our support team immediately.

@@ -641,7 +641,7 @@ export const ResetPassword = async (req, res) => {

To download our mobile app, use the following links:


If you did not request this change, please contact our support team immediately.

diff --git a/resources/user/userController.js b/resources/user/userController.js index 80131af..98cfcda 100644 --- a/resources/user/userController.js +++ b/resources/user/userController.js @@ -349,7 +349,7 @@ export const uploadPrincipaldistributors = async (req, res) => {

For convenience, you can also download our mobile app from the following links:


@@ -472,7 +472,7 @@ export const registerUser = async (req, res) => {

For convenience, you can also download our mobile app from the following links:


@@ -502,13 +502,17 @@ export const UpdateUser = async (req, res) => { // Check if ID is provided and valid 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 let user = await User.findById(id); 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 @@ -542,7 +546,7 @@ export const UpdateUser = async (req, res) => {

For convenience, you can also download our mobile app from the following link:


If you did not request this update or have any concerns, please contact our support team immediately.

@@ -709,7 +713,7 @@ export const ResetPasswordAdmin = async (req, res) => { " target="_blank">click here.

To download our mobile app, use the following links: