diff --git a/app/Config/Routes.php b/app/Config/Routes.php index e116fcd1..9c09427e 100755 --- a/app/Config/Routes.php +++ b/app/Config/Routes.php @@ -531,6 +531,8 @@ $routes->group("/ticket", ["filter" => "authMVC"], function ($routes) { $routes->post('note/(:any)','TicketController::crudNote/$1'); $routes->post('reply','TicketController::saveReply'); $routes->match( ['get', 'post'], 'ticket_reports','TicketController::ticketReports'); + $routes->post('getPolicyStartDate','TicketController::getPolicyStartDate'); + $routes->post("getPoliciesbyEmpID","TicketController::getPoliciesbyEmpID"); // $routes->post('ticket_messages','TicketController::getTicketMessage'); }); diff --git a/app/Controllers/Chatbot/BotService.php b/app/Controllers/Chatbot/BotService.php deleted file mode 100644 index ee3b57ad..00000000 --- a/app/Controllers/Chatbot/BotService.php +++ /dev/null @@ -1,110 +0,0 @@ -reply('Welcome! Please choose an option:', [ - 'reply_markup' => json_encode([ - 'keyboard' => [ - ['Card Download'], - ['Network Hospital'], - ['Reimbursement Claim Process'], - ['Reimbursement Claim Status'], - ['New Policy'], - ['Renew Policy'] - ], - 'resize_keyboard' => true, - 'one_time_keyboard' => true - ]) - ]); - } - - public static function handleCardDownload(BotMan $bot) - { - $bot->reply('Please choose an option:', [ - 'reply_markup' => json_encode([ - 'keyboard' => [ - ['Download Card'], - ['Go Back'] - ], - 'resize_keyboard' => true, - 'one_time_keyboard' => true - ]) - ]); - } - - public static function handleNetworkHospital(BotMan $bot) - { - $bot->reply('Please choose an option:', [ - 'reply_markup' => json_encode([ - 'keyboard' => [ - ['Find Hospital'], - ['Go Back'] - ], - 'resize_keyboard' => true, - 'one_time_keyboard' => true - ]) - ]); - } - - public static function handleReimbursementClaimProcess(BotMan $bot) - { - $bot->reply('Please choose an option:', [ - 'reply_markup' => json_encode([ - 'keyboard' => [ - ['Submit Claim'], - ['Go Back'] - ], - 'resize_keyboard' => true, - 'one_time_keyboard' => true - ]) - ]); - } - - public static function handleReimbursementClaimStatus(BotMan $bot) - { - $bot->reply('Please choose an option:', [ - 'reply_markup' => json_encode([ - 'keyboard' => [ - ['Check Status'], - ['Go Back'] - ], - 'resize_keyboard' => true, - 'one_time_keyboard' => true - ]) - ]); - } - - public static function handleNewPolicy(BotMan $bot) - { - $bot->reply('Please choose an option:', [ - 'reply_markup' => json_encode([ - 'keyboard' => [ - ['Get Quote'], - ['Go Back'] - ], - 'resize_keyboard' => true, - 'one_time_keyboard' => true - ]) - ]); - } - - public static function handleRenewPolicy(BotMan $bot) - { - $bot->reply('Please choose an option:', [ - 'reply_markup' => json_encode([ - 'keyboard' => [ - ['Renew Now'], - ['Go Back'] - ], - 'resize_keyboard' => true, - 'one_time_keyboard' => true - ]) - ]); - } -} \ No newline at end of file diff --git a/app/Controllers/Chatbot/ClaimHandler.php b/app/Controllers/Chatbot/ClaimHandler.php deleted file mode 100644 index b1839734..00000000 --- a/app/Controllers/Chatbot/ClaimHandler.php +++ /dev/null @@ -1,34 +0,0 @@ - "Reimbursement Claim Process: Here is a dummy response.", - 'reimbursement_claim_status' => "Reimbursement Claim Status: Here is a dummy response." - ]; - - if (isset($responses[$option])) { - $bot->reply($responses[$option]); - } else { - $bot->reply("Unknown claim option."); - } - - // Send Back Button - self::sendBackButton($bot); - } - - private static function sendBackButton(BotMan $bot) - { - $bot->reply(ButtonTemplate::create("Would you like to return?") - ->addButton(ElementButton::create("Go Back")->type('postback')->payload("main_menu")) - ); - } -} diff --git a/app/Controllers/Chatbot/LoginToContiueConversation.php b/app/Controllers/Chatbot/LoginToContiueConversation.php new file mode 100644 index 00000000..74a28a6c --- /dev/null +++ b/app/Controllers/Chatbot/LoginToContiueConversation.php @@ -0,0 +1,26 @@ +bot->userStorage()->delete(); + $this->bot->types(); // Typing indicator for the first message + sleep(0.5); // Delay + $this->showLoginMessage(); + } + + protected function showLoginMessage() + { + $this->say("Kindly Login to use the chatbot"); + } +} diff --git a/app/Controllers/Chatbot/PolicyHandler.php b/app/Controllers/Chatbot/PolicyHandler.php deleted file mode 100644 index 9491ef9d..00000000 --- a/app/Controllers/Chatbot/PolicyHandler.php +++ /dev/null @@ -1,36 +0,0 @@ - "Ecard Download: Here is a dummy response.", - 'network_hospital' => "Network Hospital: Here is a dummy response.", - 'new_policy' => "New Policy: Here is a dummy response.", - 'renew_policy' => "Renew Policy: Here is a dummy response." - ]; - - if (isset($responses[$option])) { - $bot->reply($responses[$option]); - } else { - $bot->reply("Unknown policy option."); - } - - // Send Back Button - self::sendBackButton($bot); - } - - private static function sendBackButton(BotMan $bot) - { - $bot->reply(ButtonTemplate::create("Would you like to return?") - ->addButton(ElementButton::create("Go Back")->type('postback')->payload("main_menu")) - ); - } -} diff --git a/app/Controllers/Chatbot/TypingMiddleware.php b/app/Controllers/Chatbot/TypingMiddleware.php deleted file mode 100644 index 047d246b..00000000 --- a/app/Controllers/Chatbot/TypingMiddleware.php +++ /dev/null @@ -1,27 +0,0 @@ -myLogger = \Config\Services::mylogger(); - $this->myLogger->logme('error', 'MIDDLEWARE'); - - // Simulate typing indicator - $bot->types(); - sleep(0.1); // Cap delay at 5 seconds (convert to microseconds) - // Proceed to the next middleware or response - return $next($bot); - } -} diff --git a/app/Controllers/ChatbotControllerNew.php b/app/Controllers/ChatbotControllerNew.php index b68a9581..610f2bda 100644 --- a/app/Controllers/ChatbotControllerNew.php +++ b/app/Controllers/ChatbotControllerNew.php @@ -2,6 +2,7 @@ namespace App\Controllers; +use App\Controllers\Chatbot\LoginToContiueConversation; use BotMan\BotMan\BotMan; use BotMan\BotMan\BotManFactory; use BotMan\BotMan\Drivers\DriverManager; @@ -19,6 +20,7 @@ class ChatbotControllerNew extends BaseController protected $myLogger; protected $session; protected $botman; + protected $isMemberLoggedIn; public function __construct() { @@ -90,6 +92,12 @@ class ChatbotControllerNew extends BaseController // $this->myLogger->logme('error', ('TEST' . $id)); $this->session->set('CHATBOT_RANDOM_USER_ID', $id); } + + $this->isMemberLoggedIn = false; + $chat_session_info = get_chatbot_session_info(); + if (!empty($chat_session_info['emp_id']) && !empty($chat_session_info['emp_code'] )){ + $this->isMemberLoggedIn = true; + } $this->botman->hears('.*', function ($bot) { @@ -98,8 +106,13 @@ class ChatbotControllerNew extends BaseController }); // Start the Main Menu when user says "hi" or "start" $this->botman->hears('start|hi|hello', function (BotMan $bot) { - $bot->reply('Hi how can i assist?'); - $bot->startConversation(new MainMenuConversation()); + if ($this->isMemberLoggedIn){ + $bot->reply('Hi how can i assist?'); + $bot->startConversation(new MainMenuConversation()); + }else { + $bot->startConversation(new LoginToContiueConversation()); + } + }); diff --git a/app/Controllers/ClientController.php b/app/Controllers/ClientController.php index 15533b25..07fb963a 100755 --- a/app/Controllers/ClientController.php +++ b/app/Controllers/ClientController.php @@ -4295,7 +4295,7 @@ class ClientController extends AdminController // dd($policyTerms); // Re-encode the ordered policy terms $updatedPolicyTerms = json_encode($policyTerms); - dd($updatedPolicyTerms); + // dd($updatedPolicyTerms); // dd($orderedPolicyTerms, $updatedPolicyTerms); $this->clientPolicyModel->update($data[$i]['id'], ['policy_terms' => $updatedPolicyTerms]); @@ -4574,7 +4574,7 @@ class ClientController extends AdminController $employeeRestController = new EmployeeServiceController(); // $employeeRestController->excelFileDataValidation(['file_id' => 823]); - // $employeeRestController->employeesOnboardPreprocess(['file_id' => 644]); + // $employeeRestController->employeesOnboardPreprocess(['file_id' => 726]); // $employeeRestController->employeesOnboardProcess(['file_id' => 835]); // $employeeRestController->employeesEnrollmentInsert(['file_id' => 836]); // $r = Jobs::addJob(['job_name' => 'employeesEnrollmentInsert','payload' => ['file_id' => 721]]); @@ -4705,6 +4705,9 @@ class ClientController extends AdminController // $this->loadLayout('tat_report_band_wise_list', $reportData); // $data = $ticketModel->getTATReport(1); + // $empmodel = new EmployeeModel(); + // $data = $empmodel->getEmployeePolicy(348); + // dd($data); } // ------------------------------------------------------------------------------------------------------- diff --git a/app/Controllers/RestAuthenticationController.php b/app/Controllers/RestAuthenticationController.php index 752d116c..616a69cd 100755 --- a/app/Controllers/RestAuthenticationController.php +++ b/app/Controllers/RestAuthenticationController.php @@ -102,70 +102,68 @@ class RestAuthenticationController extends AdminController { try { $email = $this->request->getJSON()->email; - - $employeeData = $this->employeeModel->select('employees.relationship,EP.employee_id') - ->join('employee_polices EP', 'EP.employee_id = employees.id', 'inner') - ->where('employees.is_active', 1) - ->where('employees.relationship', 'self') - ->where('employees.emp_status !=', 'truncated') - ->where('employees.email_corporate', $email) - ->where('EP.is_active', 1) - ->whereIn('EP.status', ['active']) - ->first(); - - if (isset($employeeData['employee_id'])) - { + + $employeeData = $this->employeeModel->select(' + employees.relationship, + EP.employee_id, + employees.client_id, + employees.client_branch_id, + employees.email_corporate + + ') + ->join('employee_polices EP', 'EP.employee_id = employees.id', 'inner') + ->where('employees.is_active', 1) + ->where('employees.relationship', 'Self') + ->where('employees.emp_status !=', 'truncated') + ->where('employees.email_corporate', $email) + ->where('EP.is_active', 1) + ->whereIn('EP.status', ['draft', 'enrolled']) + ->first(); + + if (isset($employeeData['employee_id'])) { $otp = random_int(100000, 999999); - $update = $this->employeeModel->where('email_corporate', $email)->where('relationship', 'self') - ->where('is_active', 1)->set(array('otp' => $otp )) - ->update(); - if($update) - { + $update = $this->employeeModel->where('email_corporate', $email)->where('relationship', 'Self') + ->where('is_active', 1)->set(array('otp' => $otp)) + ->update(); + if ($update) { $common = [ 'client_id' => $employeeData['client_id'], 'client_branch_id' => $employeeData['client_branch_id'], 'client_policy_id' => null, 'employee_policy_id' => null, - 'employee_id' => $employeeData['id'], + 'employee_id' => $employeeData['employee_id'], 'mail_type' => 'otp_mail', - ]; + ]; $subject = 'Nhance user verification - OTP'; - $mail_content = $otp.' is your verification code for Nhance.'; - $res = MailHelper::send_email(['mail' => $employeeData['email_corporate'], 'subject' => $subject ,'common'=>$common ,'message' => $mail_content]); + $mail_content = $otp . ' is your verification code for Nhance.'; + $res = MailHelper::send_email(['mail' => $employeeData['email_corporate'], 'subject' => $subject, 'common' => $common, 'message' => $mail_content]); $this->myLogger->logme("info", $res); - if(json_decode($res)->status == 'success') - { - $result = ['user_verification' => true ,'message' => "Verified Successfully"]; - return $this->respond(['status' => 'success','code' => 200,'data' => $result],200); - - }else{ - $result = ['user_verification' => false , 'message' => "Mail sending failed , try again"]; - return $this->respond(['status' => 'failed','code' => 404,'data' => $result],200); + if (json_decode($res)->status == 'success') { + $result = ['user_verification' => true, 'message' => "Verified Successfully"]; + return $this->respond(['status' => 'success', 'code' => 200, 'data' => $result], 200); + } else { + $result = ['user_verification' => false, 'message' => "Mail sending failed , try again"]; + return $this->respond(['status' => 'failed', 'code' => 404, 'data' => $result], 200); } + } else { - }else{ - - $result = ['user_verification' => false , 'message' => "Verification failed , try again"]; - return $this->respond(['status' => 'failed','code' => 404,'data' => $result],200); - + $result = ['user_verification' => false, 'message' => "Verification failed , try again"]; + return $this->respond(['status' => 'failed', 'code' => 404, 'data' => $result], 200); } - - } else { - $result = ['user_verification' => false , 'message' => "User not found"]; - return $this->respond(['status' => 'failed','code' => 404,'data' => $result],200); - + $result = ['user_verification' => false, 'message' => "User not found"]; + return $this->respond(['status' => 'failed', 'code' => 404, 'data' => $result], 200); } } catch (\Throwable $th) { - return $this->respond(['status' => 'failed','code' => 500,'data' => $th],500); + return $this->respond(['status' => 'failed', 'code' => 500, 'data' => $th], 500); } } - + public function getVerifiedUserData() { diff --git a/app/Controllers/TicketController.php b/app/Controllers/TicketController.php index 6da26715..4b3a9619 100644 --- a/app/Controllers/TicketController.php +++ b/app/Controllers/TicketController.php @@ -12,6 +12,9 @@ use App\Models\TicketMailTemplateModel; use App\Models\TicketMessageModel; use App\Models\TicketNoteModel; use App\Models\UserModel; +use App\Models\ClientPolicyModel; +use App\Models\EmployeePolicyModel; + use DOMDocument; use Psr\Log\LoggerInterface; use Kint\Kint; @@ -45,6 +48,8 @@ class TicketController extends BaseController protected $triggerType; protected $userModel; protected $employeeModel; + protected $clientPolicyModel; + protected $employeePolicyModel; public function __construct() { @@ -80,10 +85,10 @@ class TicketController extends BaseController ]; $this->claimType = [ 1 => [ - 1 => "Main", + 1 => "Main Hospitalization", + 3 => "Pre / Post", 2 => "OPD", - 3 => "Pre ReOpen", - 4 => "Post ReOpen", + 4 => "ReOpen", ], 2 => [ 1 => "TTD", @@ -157,6 +162,8 @@ class TicketController extends BaseController $this->ticketMessageModel = new TicketMessageModel(); $this->userModel = new UserModel(); $this->employeeModel = new EmployeeModel(); + $this->clientPolicyModel = new ClientPolicyModel(); + $this->employeePolicyModel = new EmployeePolicyModel(); } public function ticketList() @@ -439,7 +446,6 @@ class TicketController extends BaseController $template_data['subject'] = $this->replacePlaceholders($template_data['subject'], $ticket_data); } $data = $this->ticket_form_data($ticket_data['ticket_type_id'], $ticket_data['claim_status_id']); - $data['ticket_data'] = $ticket_data; $data['reply_data'] = $template_data; $data['placeHolders'] = $this->placeHolders; $data['message_data'] = $this->getTicketMessage($ticket_id); @@ -447,6 +453,12 @@ class TicketController extends BaseController $data['member_data'] = $this->employeeModel->getEmployeeByEmployeeCode($ticket_data['emp_code']); $data['ticket_history'] = $this->ticketHistory($ticket_id); $data['ticket_check_list'] = db_connect()->table('ticket_check_list')->where('is_active', 1)->where('ticket_type_id', $ticket_data['ticket_type_id'])->get()->getResultArray(); + if (!empty($ticket_data['client_policy_id'])){ + $ticket_data['client_policy_id_text'] = $this->clientPolicyModel->select('concat(policy_type.policy_type,"-",client_policy.policy_no) as client_policy_name')->join('policy_type','policy_type.id = client_policy.policy_type_id and policy_type.is_active = 1')->where('client_policy.id',$ticket_data['client_policy_id'])->first()['client_policy_name']; + } + // dd($ticket_data); + $data['ticket_data'] = $ticket_data; + // dd($data); return $this->loadLayout('ticket_edit_onbording', $data); @@ -841,8 +853,16 @@ class TicketController extends BaseController $replaceData = $ticket_data[$value] ?? ''; } else if ($value == "policy_type") { $replaceData = str_replace("Claim-", "", $this->ticketType[$ticket_data['ticket_type_id']] ?? ""); - } else { - $replaceData = isset($ticket_data[$value]) ? strtoupper($ticket_data[$value]) : ''; + } else if ($value == 'emp_name'){ + if(empty($ticket_data['emp_id'])){ + $replaceData = $ticket_data['emp_name']??""; + } + }else if ($value == 'insured_name'){ + if(empty($ticket_data['insured_emp_id'])){ + $replaceData = $ticket_data['insured_name']?? ""; + } + }else { + $replaceData = isset($ticket_data[$value]) ? $ticket_data[$value] : ''; } $content = str_replace($key, $replaceData, $content); @@ -1433,5 +1453,73 @@ class TicketController extends BaseController return $lastMatchedStatus; } + + public function getPolicyStartDate() + { + + $data = $this->request->getPost(); + $client_policy_id = $data['policy_id']; + $policy_start_date = $this->clientPolicyModel->select('policy_start_date')->where('id', $client_policy_id)->first()['policy_start_date']; + // dd($data); + if (isset($data['employeeId']) && $data['employeeId'] != "" && $data['employeeId'] != null) { + // dd($data); + $emp_id = $data['employeeId']; + $empData = $this->employeeModel->select('dob,doj')->where('id',$emp_id)->findAll(); + + if (!empty($empData) && $empData != "" && $empData != null ) { + foreach ($empData as &$emp) { // Loop through the data + $emp['dob'] = date('d/m/Y', strtotime($emp['dob'])); + $emp['doj'] = date('d/m/Y', strtotime($emp['doj'])); + } + } + + if ($empData){ + return $this->respond(['status' => true, 'minDate' => $policy_start_date,'empData'=> $empData], 200); + }else{ + return $this->respond(['status' => false, 'message' => "Policy Not Found"]); + } + + } else { + // dd($policy_start_date); + if ($policy_start_date) { + return $this->respond(['status' => true, 'minDate' => $policy_start_date], 200); + } else { + return $this->respond(['status' => false, 'message' => "Policy Not Found"]); + } + } + } + + public function getPoliciesbyEmpID() { + $received_data = $this->request->getPost(); + $emp_id = $received_data['emp_id']; + + // Get all client policy IDs for the given employee + $policies = $this->employeePolicyModel + ->select('client_policy_id') + ->where('employee_id', $emp_id) + ->findAll(); + + if (empty($policies)) { + return []; // Return empty if no policies found + } + + // Extract client policy IDs into an array + $policy_ids = array_column($policies, 'client_policy_id'); + + // Fetch all policy names and IDs in one query + $policyNameandID = $this->clientPolicyModel + ->select('CONCAT(policy_type.policy_type, "-", client_policy.policy_no) as client_policy_name, client_policy.id as client_policy_value,client_policy.policy_type_id') + ->join('policy_type', 'policy_type.id = client_policy.policy_type_id AND policy_type.is_active = 1') + ->whereIn('client_policy.id', $policy_ids) + ->findAll(); + + // dd($policyNameandID); + if ($policyNameandID){ + + return $this->respond(['status'=>true,'policy_data'=> $policyNameandID]); + }else{ + return $this->respond(['status'=>false,'message'=> "Policy Not Found"]); + } + } } diff --git a/app/Helpers/excel_util_helper.php b/app/Helpers/excel_util_helper.php index a5cd1bda..c90eebb3 100755 --- a/app/Helpers/excel_util_helper.php +++ b/app/Helpers/excel_util_helper.php @@ -682,7 +682,7 @@ if (!function_exists('generate_relationship_code')) $slug = \Config\Services::slug(); $relationship_code = $slug->slugify($arr['relationship']); $emp_type_code = ($relationship_code == 'self' ? 'EMP_TYP_01' : 'EMP_TYP_03'); - $relationship_code = $gender[ $arr['gender'] ] . $relationship[ $relationship_code ] ; + $relationship_code = $gender[ trim($arr['gender']) ] . $relationship[ trim($relationship_code) ]; return ['relationship_code' => $relationship_code,'emp_type_code' => $emp_type_code]; } } diff --git a/app/Helpers/sendMailNotification.php b/app/Helpers/sendMailNotification.php index 44bea402..bd66c776 100755 --- a/app/Helpers/sendMailNotification.php +++ b/app/Helpers/sendMailNotification.php @@ -1247,7 +1247,7 @@ class sendMailNotification $subject = $notification['subject']; $rand_string = 'HX3kUh'; - $link = generate_download_link($rand_string); + $link = generate_download_link($rand_string).'/1'; $name = 'John Doe'; $mobile = 9080706050; diff --git a/app/Models/EmployeeModel.php b/app/Models/EmployeeModel.php index 14ec368d..57ac791b 100755 --- a/app/Models/EmployeeModel.php +++ b/app/Models/EmployeeModel.php @@ -149,7 +149,21 @@ class EmployeeModel extends Model { return $this->db->table('employee_polices') - ->select(' policy_type.long_name as Policy_Name , client_policy.policy_terms as Policy_Terms, client_policy.client_id as ClientId, client_policy.policy_id as PolicyId,client_policy.id as ClientPolicyId, client_policy.open_for_enrollment as OpenForEnrollment,client_policy.disclaimer,client_policy.policy_type_id , employee_polices.tpa_id as tpa_id , employee_polices.rand_string as rand_string') // Select all columns from both tables + ->select(' + policy_type.long_name as Policy_Name , + client_policy.policy_terms as Policy_Terms, + client_policy.client_id as ClientId, + client_policy.policy_id as PolicyId, + client_policy.id as ClientPolicyId, + CASE + WHEN client_policy.open_for_enrollment IS NULL THEN 0 + ELSE client_policy.open_for_enrollment + END AS OpenForEnrollment, + client_policy.disclaimer, + client_policy.policy_type_id , + employee_polices.tpa_id as tpa_id , + employee_polices.rand_string as rand_string + ', FALSE) // Select all columns from both tables ->join('client_policy', 'client_policy.id = employee_polices.client_policy_id') ->join('policy_type', 'policy_type.id = client_policy.policy_type_id') ->where('client_policy.policy_status', 1) diff --git a/app/Models/PolicyTransactionModel.php b/app/Models/PolicyTransactionModel.php index bb5f5954..e2a25cc6 100644 --- a/app/Models/PolicyTransactionModel.php +++ b/app/Models/PolicyTransactionModel.php @@ -607,7 +607,8 @@ class PolicyTransactionModel extends Model policy_type.policy_type, pt_co_share_details.agreed_amt AS amount, pt_co_share_details.bp_amt AS bp, - pt_co_share_details.tp_amt AS tp + pt_co_share_details.tp_amt AS tp, + clients.pan ') ->join('pt_co_share_details', 'policy_transaction.id = pt_co_share_details.pt_id', 'left') ->join('clients', 'clients.id = policy_transaction.client_id', 'left') diff --git a/app/Models/TicketMasterModel.php b/app/Models/TicketMasterModel.php index 878fad2e..f75cf2a6 100644 --- a/app/Models/TicketMasterModel.php +++ b/app/Models/TicketMasterModel.php @@ -72,6 +72,8 @@ class TicketMasterModel extends Model 'non_id_reason', 'head_rejection_reason', 'pay_initiate_date', + 'emp_personal_mail', + 'client_policy_id' ]; diff --git a/app/Views/chatbot.php b/app/Views/chatbot.php index 14a5f652..94373196 100644 --- a/app/Views/chatbot.php +++ b/app/Views/chatbot.php @@ -63,7 +63,7 @@ if (window.botmanWidget) { botmanChatWidget.open(); setTimeout(function(){ - botmanChatWidget.sayAsBot('Hi '+ emp_name +',This is ILA your Insurance Assistant, plz choose the following options') + botmanChatWidget.sayAsBot('Hi '+ (typeof emp_name !== "undefined" && emp_name !== null && emp_name !== "" ? emp_name : "Guest User") +',This is ILA your Insurance Assistant, plz choose the following options') botmanChatWidget.whisper('Hi'); },3000); diff --git a/app/Views/layout/header.php b/app/Views/layout/header.php index f26439e5..66d00a2a 100755 --- a/app/Views/layout/header.php +++ b/app/Views/layout/header.php @@ -691,111 +691,121 @@ - + -
  • - - - 2 - Policy Transactions - -
    - +
    +
  • + + - + diff --git a/app/Views/policy_transaction_inception_form.php b/app/Views/policy_transaction_inception_form.php index 5b7ebdd3..6f61ded5 100644 --- a/app/Views/policy_transaction_inception_form.php +++ b/app/Views/policy_transaction_inception_form.php @@ -480,7 +480,7 @@ -
    +
    - +
    +
    +
    + +
    + +
    + +
    + placeholder="Enter Text">
    - - + + +
    + +
    + - - - + \ No newline at end of file diff --git a/app/Views/ticket_form_gmc.php b/app/Views/ticket_form_gmc.php index b23212e9..337aa48a 100644 --- a/app/Views/ticket_form_gmc.php +++ b/app/Views/ticket_form_gmc.php @@ -1,3 +1,17 @@ +
    " style="margin-right: 23px;"> @@ -73,9 +87,8 @@ + name="policy_no" placeholder="Policy Number">
    -
    +
    + + +
    +
    @@ -108,6 +128,20 @@
    + +
    +
    + + +
    +
    @@ -120,12 +154,12 @@
    @@ -145,12 +179,12 @@
    @@ -160,12 +194,12 @@
    @@ -343,16 +377,16 @@ @@ -389,12 +423,23 @@ \ No newline at end of file diff --git a/app/Views/ticket_form_gpa.php b/app/Views/ticket_form_gpa.php index 627a3588..3181f9bf 100644 --- a/app/Views/ticket_form_gpa.php +++ b/app/Views/ticket_form_gpa.php @@ -68,6 +68,13 @@ name="emp_mail" required> +
    + + +
    +
    + + +
    +
    + + +
    +
    @@ -293,14 +317,22 @@ \ No newline at end of file diff --git a/app/Views/ticket_form_handler.php b/app/Views/ticket_form_handler.php index 487e885b..76ab3b7f 100644 --- a/app/Views/ticket_form_handler.php +++ b/app/Views/ticket_form_handler.php @@ -1,49 +1,49 @@ - \ No newline at end of file diff --git a/app/Views/ticket_reply.php b/app/Views/ticket_reply.php index fffb138d..3b6cb2a3 100644 --- a/app/Views/ticket_reply.php +++ b/app/Views/ticket_reply.php @@ -47,36 +47,61 @@
    \ No newline at end of file