diff --git a/app/Controllers/MasterController.php b/app/Controllers/MasterController.php index 2735db0..e68ccee 100644 --- a/app/Controllers/MasterController.php +++ b/app/Controllers/MasterController.php @@ -735,7 +735,7 @@ class MasterController extends BaseController $documentUrl = base_url(); // helper('url'); - $url ='Preview and Approve Document'; + $url ='Preview and Approve Document'; // $businessData = $this->BranchModel->select('branches.* , business.business_name ') // ->join('business', 'branches.business_id = business.business_id', 'left') // ->where('branches.branch_id',$this->session->get('logged_in_staff_branch_id')) @@ -748,7 +748,7 @@ class MasterController extends BaseController // print_r($businessData);die; $message = "Dear " . $clientData->client_name . ",
" . $businessData->business_name . " has requested your approval for a document. Please click the link below to preview and approve.

" . $url; - $mail_send = $MailHelper->send_url_email($clientData->email , $businessData->email, $subject, $message); + $MailHelper->send_url_email($clientData->email , '', $subject, $message); $notificationHelper = new NotificationHelper(); $number = '91'.$clientData->mobile_no; // Replace with dynamic recipient number if($clientData->whatsapp == 1){