Dear Sir/Madam,
"; // $status = ''; // $sub_status = ''; // if ($fetch['status'] == 'BOOKED') { // $sub_status = 'confirmed'; // $status = "confirmed "; // } else if ($fetch['status'] == 'DRP') { // $sub_status = 'pending'; // $status = "confirmed"; // } else if ($fetch['status'] == 'DRA') { // $sub_status = 'completed'; // $status = "completed "; // } else if ($fetch['status'] == 'CANCELLED') { // $sub_status = 'cancelled'; // $status = " cancelled"; // } // if ($fetch['app_type'] == 'FIT') { // $fetch['app_type'] = 'sickness/fitness'; // } else if ($fetch['app_type'] == 'MED') { // $fetch['app_type'] = 'periodic health checkup'; // } // $email_list_to = getTableFieldValue('patient_master', 'offiial_email_id', 'id', '"' . $fetch['emp_id'] . '"'); // $email_list_cc = getTableFieldValue('patient_master', 'offiial_email_id', 'id', '"' . $fetch['doctor_id'] . '"'); // $ref_type = $fetch['app_type'] . " Appointment"; // $subject = 'Your appointment got ' . $sub_status . ' in ' . getTableFieldValue('ohc_type', 'ohc_type_name', 'ohc_type_id', '"' . $fetch['ohc_type_id'] . '"') . ' OHC on ' . // date_format(date_create($fetch['date']), "d-m-Y ") . '.'; // // if ($type != 'del') { // // emailContent += "Your appointment got " + status + " in " + data.ohc_type + " OHC on " + // // data.date + // // " between " + // // data.slot + // // " - " + // // data.slot_end + // // ".
"; // // emailContent += // // "Kindly make sure 12 hours fasting is required (You can consume water) before this health checkup.
Regards,
Team OHC
"; // // } else { // $emailContent .= "You have Cancelled your health checkup in " . getTableFieldValue('ohc_type', 'ohc_type_name', 'ohc_type_id', '"' . $fetch['ohc_type_id'] . '"') ." OHC got Cancelled .
"; // $emailContent .= "Regards,
Team OHC
"; // // } // // emailContent += "