Commit 272c0047 by Jithin

sprint 3 partial delivery

parent 7a1fc13c
...@@ -107,13 +107,29 @@ public function index() ...@@ -107,13 +107,29 @@ public function index()
$dash_view = array('no_of_attendance' => $no_of_attendance['count'],'no_of_billed'=>$no_of_billed['amount'],'no_of_patients' => $no_of_patients['count'],'no_of_profileview'=>$no_of_profileview['count']); $dash_view = array('no_of_attendance' => $no_of_attendance['count'],'no_of_billed'=>$no_of_billed['amount'],'no_of_patients' => $no_of_patients['count'],'no_of_profileview'=>$no_of_profileview['count']);
//FETCHING NOTIFICATION FOR DASHBOARD VIEW
$notifications = $this->Doctor_model->get_notifications($userdata['id'],1,10);
foreach ($notifications as $key => $value)
{
if($value['type']==0)
{$notifications[$key]['type_name']='Redemption Made';}
elseif($value['type']==1)
{$notifications[$key]['type_name']='New Review';}
elseif($value['type']==2)
{$notifications[$key]['type_name']='New Consultation';}
elseif($value['type']==3)
{$notifications[$key]['type_name']='Added to new clinic';}
}
if(!empty($notifications)){$this->session->set_userdata('notifications',$notifications);}
//print_r($notifications);die();
//PASSING VALUES TO VIEW //PASSING VALUES TO VIEW
$template['doctor_data'] = $doctor_data; $template['doctor_data'] = $doctor_data;
$template['clinic_list'] = $clinic_list; $template['clinic_list'] = $clinic_list;
$template['day_appointment'] = $day_appointment; $template['day_appointment'] = $day_appointment;
$template['dash_view'] = $dash_view; $template['dash_view'] = $dash_view;
$template['attendence'] = $attendence; $template['attendence'] = $attendence;
$template['attendence'] = $attendence;
$template['notifications'] = $notifications;
$this->load->view('template/template', $template); $this->load->view('template/template', $template);
} }
...@@ -881,7 +897,7 @@ public function save_medicalrecord_data() ...@@ -881,7 +897,7 @@ public function save_medicalrecord_data()
$text = 'The patient '.$patient_data['pt_name'].' evaluated his consultation of '.date('d.m.Y',$booking_details['time_start']); $text = 'The patient '.$patient_data['pt_name'].' evaluated his consultation of '.date('d.m.Y',$booking_details['time_start']);
$notification = array('doctor_id' => $booking_details['doctor_id'],'type'=>1,'message'=>$text,'read_status'=>0,'time'=>strtotime($nowin_server_addoffset) ); $notification = array('doctor_id' => $booking_details['doctor_id'],'type'=>1,'message'=>$text,'read_status'=>0,'time'=>strtotime($nowin_server) );
$this->Home_model->insert_notification_doctor($notification); $this->Home_model->insert_notification_doctor($notification);
} }
...@@ -1176,6 +1192,11 @@ public function notification() ...@@ -1176,6 +1192,11 @@ public function notification()
$page = 1; $page = 1;
$notifications = $this->Doctor_model->get_notifications($userdata['id'],$page); $notifications = $this->Doctor_model->get_notifications($userdata['id'],$page);
$notifications_total_count = $this->Doctor_model->get_notifications_total_count($userdata['id']); $notifications_total_count = $this->Doctor_model->get_notifications_total_count($userdata['id']);
$aniversaries = $this->Doctor_model->get_aniversaries_list($userdata['id']);
//echo "<pre>";
//print_r($aniversaries);die();
//print_r(strtotime(date('Y-m-d H:i:s'))); //print_r(strtotime(date('Y-m-d H:i:s')));
//echo "<pre>";print_r($notifications);die(); //echo "<pre>";print_r($notifications);die();
...@@ -1199,6 +1220,8 @@ public function notification() ...@@ -1199,6 +1220,8 @@ public function notification()
//print_r($notifications_total_count);die(); //print_r($notifications_total_count);die();
$template['notifications_page_no'] = $page; $template['notifications_page_no'] = $page;
$template['aniversaries'] = $aniversaries;
$template['page'] = "doctor_notifications_aniversaries"; $template['page'] = "doctor_notifications_aniversaries";
$template['page_title'] = "Notification"; $template['page_title'] = "Notification";
...@@ -1239,6 +1262,93 @@ public function notification_ajax() ...@@ -1239,6 +1262,93 @@ public function notification_ajax()
$this->load->view('doctor_notifications_list', $template); $this->load->view('doctor_notifications_list', $template);
} }
/*FUNCTION FOR CHECKING CREDENTIALS OF CURRENTLY LOGEDIN PATIENT - DELETE ACCOUNT*/
public function check_current_user_credential()
{
$userdata = $this->session->userdata('UserData');
if($_POST['username']==$userdata['username'])
{
$db_pass = $this->Doctor_model->get_doctor_password($userdata['id']);
$enterd_pass = md5($_POST['password']);
if($db_pass['password']==$enterd_pass)
{
$this->sentConfirmationcode($userdata);
$res = array('status' =>'success' , 'msg'=>'Valid Credentials');
}
else
{
$res = array('status' =>'error' , 'msg'=>'Invalid Credentials');
}
}
else
{
$res = array('status' =>'error' , 'msg'=>'Invalid Credentials');
}
print json_encode($res);
}
/*FUNCTION FOR CHECKING CONFIRMATION CODE OF CURRENTLY LOGEDIN PATIENT - DELETE ACCOUNT*/
public function check_current_user_confirmationcode()
{
$userdata = $this->session->userdata('UserData');
$db_confirmation_code = $this->Doctor_model->get_doctor_confirmation_code($userdata['id']);
if($db_confirmation_code['confirmation_code']==strtoupper($_POST['confirmation_code']))
{
$res = array('status' => 'success','msg'=>'Valid Code' );
$this->Doctor_model->disable_doctor_account($userdata['id']);
}
else
{
$res = array('status' => 'error','msg'=>'Invalid Code' );
}
print json_encode($res);
}
/*FUNCTION FOR SENTING CONFRIMATION CODE FOR ACCOUNT DELETION - PATIENT AND DOCTOR*/
public function sentConfirmationcode($user)
{
$characters = '0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ';
$result = '';
for ($i = 0; $i < 8; $i++)
$result .= $characters[mt_rand(0, 35)];
$msg = "Hi ".$user['name'].",<br><br>Your Confirmation Code for Ipok Account Deactivation is ".$result.".
<br><br>Ipok Team";
$this->send_mail($msg,$user['email'],'Account Deactivation');
$this->Doctor_model->set_confirmation_code($user,$result);
}
/*FUNCTION FOR SENTING MAIL */
public function send_mail($msg,$email,$sub)
{
$settings = $this->db->get('settings')->row();
$configs = array(
'protocol'=>'smtp',
'smtp_host'=>$settings->smtp_host,
'smtp_user'=>$settings->smtp_username,
'smtp_pass'=>$settings->smtp_password,
'smtp_port'=>'587',
'smtp_timeout'=>20,
'mailtype' => 'html',
'charset' => 'iso-8859-1',
'wordwrap' => TRUE
);
$this->load->library('email', $configs);
$this->email->initialize($configs);
$this->email->set_newline("\r\n");
$this->email
->from($settings->admin_email, 'Ipok')
->to($email)
->subject($sub)
->message($msg);
$this->email->send();
}
......
...@@ -355,10 +355,16 @@ class Home extends CI_Controller { ...@@ -355,10 +355,16 @@ class Home extends CI_Controller {
{ {
unset($_SESSION['UserData']); unset($_SESSION['UserData']);
} }
if($this->session->userdata('DependentData')) if($this->session->userdata('DependentData'))
{ {
unset($_SESSION['DependentData']); unset($_SESSION['DependentData']);
} }
if($this->session->userdata('notifications'))
{
unset($_SESSION['notifications']);
}
header('Location: '.base_url()); header('Location: '.base_url());
} }
......
...@@ -32,7 +32,7 @@ public function index() ...@@ -32,7 +32,7 @@ public function index()
$policy = $this->Patient_model->get_policy(); $policy = $this->Patient_model->get_policy();
$promocodes = $this->Patient_model->get_all_promocodes(); $promocodes = $this->Patient_model->get_all_promocodes();
//print_r($promocodes); //print_r($promocodes);die();
//print_r($completed_consultation); //print_r($completed_consultation);
//$clinic_list = $this->Doctor_model->get_doctor_clinic_list($userdata['id']); //$clinic_list = $this->Doctor_model->get_doctor_clinic_list($userdata['id']);
...@@ -482,7 +482,7 @@ public function check_current_user_confirmationcode() ...@@ -482,7 +482,7 @@ public function check_current_user_confirmationcode()
{ {
$userdata = $this->session->userdata('UserData'); $userdata = $this->session->userdata('UserData');
$db_confirmation_code = $this->Patient_model->get_patient_confirmation_code($userdata['id']); $db_confirmation_code = $this->Patient_model->get_patient_confirmation_code($userdata['id']);
if($db_confirmation_code['confirmation_code']==$_POST['confirmation_code']) if($db_confirmation_code['confirmation_code']==strtoupper($_POST['confirmation_code']))
{ {
$res = array('status' => 'success','msg'=>'Valid Code' ); $res = array('status' => 'success','msg'=>'Valid Code' );
$this->Patient_model->disable_patient_account($userdata['id']); $this->Patient_model->disable_patient_account($userdata['id']);
......
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
class Print extends CI_Controller {
function __construct()
{
parent::__construct();
$this->load->model('Home_model');
$this->load->model('Patient_model');
}
/*PRINT CONTROLLER */
public function index()
{
}
/*FUNCTION FOR SENTING CONFRIMATION CODE FOR ACCOUNT DELETION - PATIENT AND DOCTOR*/
/*public function sentConfirmationcode($user)
{
$characters = '0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ';
$result = '';
for ($i = 0; $i < 8; $i++)
$result .= $characters[mt_rand(0, 35)];
$msg = "Hi Jithin,</br></br>Your Confirmation Code for Ipok Account Deactivation is ".$result.".
</br></br>Ipok Team";
$this->send_mail($msg,'[email protected]','Account Deactivation');
//print_r($msg);
}
public function send_mail($msg,$email,$sub){
$settings = $this->db->get('settings')->row();
//print_r($settings);
$configs = array(
'protocol'=>'smtp',
'smtp_host'=>$settings->smtp_host,
'smtp_user'=>$settings->smtp_username,
'smtp_pass'=>$settings->smtp_password,
'smtp_port'=>'587',
'smtp_timeout'=>20,
'mailtype' => 'html',
'charset' => 'iso-8859-1',
'wordwrap' => TRUE
);
$this->load->library('email', $configs);
$this->email->initialize($configs);
$this->email->set_newline("\r\n");
$this->email
->from($settings->admin_email, 'Ipok')
->to($email)
->subject($sub)
->message($msg);
$this->email->send();
}
*/
}
...@@ -370,7 +370,7 @@ class Searchdoctor extends CI_Controller { ...@@ -370,7 +370,7 @@ class Searchdoctor extends CI_Controller {
/*CODE FOR SENTING NOTIFICATION FOR FREE VISIT*/ /*CODE FOR SENTING NOTIFICATION FOR FREE VISIT*/
$text = 'A new appointment was scheduled in the system, on '.date('d.m.Y',$book_start_time).' at '.date('H:i a',$book_start_time).', patient '.$userdata['name']; $text = 'A new appointment was scheduled in the system, on '.date('d.m.Y',$book_start_time).' at '.date('H:i a',$book_start_time).', patient '.$userdata['name'];
$notification = array('doctor_id' => $data['doctor_id'],'type'=>2,'message'=>$text,'read_status'=>0,'time'=>strtotime($nowin_server_addoffset) ); $notification = array('doctor_id' => $data['doctor_id'],'type'=>2,'message'=>$text,'read_status'=>0,'time'=>strtotime($nowin_server) );
$this->Home_model->insert_notification_doctor($notification); $this->Home_model->insert_notification_doctor($notification);
} }
...@@ -432,7 +432,7 @@ class Searchdoctor extends CI_Controller { ...@@ -432,7 +432,7 @@ class Searchdoctor extends CI_Controller {
$patient_data = $this->Patient_model->get_single_patient($booking_details['patient_id']); $patient_data = $this->Patient_model->get_single_patient($booking_details['patient_id']);
$text = 'A new appointment was scheduled in the system, on '.date('d.m.Y',$booking_details['time_start']).' at '.date('H:i a',$booking_details['time_start']).', patient '.$patient_data['pt_name']; $text = 'A new appointment was scheduled in the system, on '.date('d.m.Y',$booking_details['time_start']).' at '.date('H:i a',$booking_details['time_start']).', patient '.$patient_data['pt_name'];
$notification = array('doctor_id' => $booking_details['doctor_id'],'type'=>2,'message'=>$text,'read_status'=>0,'time'=>strtotime($nowin_server_addoffset) ); $notification = array('doctor_id' => $booking_details['doctor_id'],'type'=>2,'message'=>$text,'read_status'=>0,'time'=>strtotime($nowin_server) );
$this->Home_model->insert_notification_doctor($notification); $this->Home_model->insert_notification_doctor($notification);
......
...@@ -53,6 +53,37 @@ function cpf_validator($cpf) ...@@ -53,6 +53,37 @@ function cpf_validator($cpf)
$result = $sum % 11; $result = $sum % 11;
return $cpf{10} == ($result < 2 ? 0 : 11 - $result); return $cpf{10} == ($result < 2 ? 0 : 11 - $result);
} }
function change_time_to_local($dateTimeUTC = null, $dateFormat = 'H:i:s')
{
//print_r($dateTimeUTC);
$date = new DateTime(date('Y-m-d H:i:s',$dateTimeUTC), new DateTimeZone('UTC'));
//$date = new DateTime('2011-11-10 20:17:23', new DateTimeZone('UTC'));
$ip = $_SERVER['REMOTE_ADDR'];
if($ip=='::1')
{
$date->setTimezone(new DateTimeZone('UTC'));
echo $date->format('h:i:s');
}
else
{
$rs = json_decode(file_get_contents('http://ip-api.com/json/'.$ip));
$time_Z = $rs->timezone;
$date->setTimezone(new DateTimeZone($time_Z));
echo $date->format('h:i:s A');
}
/* $timeZone = 'Asia/Kolkata';
$dateTimeUTC = $dateTimeUTC ? $dateTimeUTC : date("Y-m-d H:i:s");
$date = new DateTime($dateTimeUTC, new DateTimeZone('UTC'));
$date->setTimeZone(new DateTimeZone($timeZone));
//return $date->format($dateFormat);*/
}
//print(cpf_validator('111.444.777-35'));// return 1 if valid else no return //print(cpf_validator('111.444.777-35'));// return 1 if valid else no return
?> ?>
\ No newline at end of file
...@@ -623,11 +623,14 @@ function get_current_booking_status($booking_id) ...@@ -623,11 +623,14 @@ function get_current_booking_status($booking_id)
return $query->row_array(); return $query->row_array();
} }
function get_notifications($doctor_id,$page) function get_notifications($doctor_id,$page,$limit = null)
{ {
$start = 0; $start = 0;
$limit = $page * 5; if(!isset($limit) or empty($limit))
{
$limit = $page * 5;
}
$this->db->select('id, $this->db->select('id,
type, type,
message, message,
...@@ -649,6 +652,72 @@ function get_notifications_total_count($doctor_id) ...@@ -649,6 +652,72 @@ function get_notifications_total_count($doctor_id)
$query = $this->db->get(); $query = $this->db->get();
return $query->row_array(); return $query->row_array();
} }
function get_aniversaries_list($doc_id)
{
/*$this->db->select("tbl_registration.id,
tbl_registration.name,
tbl_registration.dob,
tbl_registration.profile_photo,
DATE_FORMAT(tbl_registration.dob, '%m') as mo");
$this->db->from('tbl_booking');
$this->db->join('tbl_registration', 'tbl_booking.patient_id = tbl_registration.id ','left');
$this->db->where('tbl_booking.doctor_id',$doc_id);
$this->db->where('tbl_booking.booking_status',3);
$this->db->where("month(CONVERT_TZ(FROM_UNIXTIME(tbl_registration.dob),@@session.time_zone,'+00:00'))".'>='. date('m',time()));*/
//$this->db->where("day(CONVERT_TZ(FROM_UNIXTIME(tbl_registration.dob),@@session.time_zone,'+00:00'))".'>='. date('d',time()));
//$this->db->where('IF("month(CONVERT_TZ(FROM_UNIXTIME(tbl_registration.dob),@@session.time_zone,"+00:00"))"'.'='. date('m',time()).')'., null, "day(CONVERT_TZ(FROM_UNIXTIME(tbl_registration.dob),@@session.time_zone,'+00:00'))".'>='. date('d',time()));
//$this->db->where('IF(month(CONVERT_TZ(FROM_UNIXTIME(tbl_registration.dob),@@session.time_zone,"+00:00"))='.date('m',time()).',day(CONVERT_TZ(FROM_UNIXTIME(tbl_registration.dob),@@session.time_zone,"+00:00"))>=26,null)');
//$this->db->where("IF(tbl_registration.id='156',NULL,true)");
//$this->db->where("IF(month(CONVERT_TZ(FROM_UNIXTIME(tbl_registration.dob),@@session.time_zone,'+00:00'))='".date('m',time())."',day(CONVERT_TZ(FROM_UNIXTIME(tbl_registration.dob),@@session.time_zone,'+00:00'))".'>='.$day.",true)",true);
//$this->db->where("IF( cond,true,fasle)", null, false);
//$this->db->where('tbl_registration.dob',3);
//$query = $this->db->query("SELECT `tbl_registration`.`id`, `tbl_registration`.`name`, `tbl_registration`.`dob`, `tbl_registration`.`profile_photo`, DATE_FORMAT(tbl_registration.dob, '%m') as mo FROM `tbl_booking` LEFT JOIN `tbl_registration` ON `tbl_booking`.`patient_id` = `tbl_registration`.`id` WHERE `tbl_booking`.`doctor_id` = '30' AND `tbl_booking`.`booking_status` = 3 AND month(CONVERT_TZ(FROM_UNIXTIME(tbl_registration.dob),@@session.time_zone,'+00:00')) >= 03 AND IF(month(CONVERT_TZ(FROM_UNIXTIME(tbl_registration.dob),@@session.time_zone,'+00:00'))='03',day(CONVERT_TZ(FROM_UNIXTIME(tbl_registration.dob),@@session.time_zone,'+00:00'))>= '26',true)");
$query = $this->db->query("SELECT `tbl_registration`.`id`, `tbl_registration`.`name`, `tbl_registration`.`dob`, `tbl_registration`.`profile_photo`, DATE_FORMAT(tbl_registration.dob, '%m') as mo FROM `tbl_booking` LEFT JOIN `tbl_registration` ON `tbl_booking`.`patient_id` = `tbl_registration`.`id` WHERE `tbl_booking`.`doctor_id` = '30' AND `tbl_booking`.`booking_status` = 3 AND month(CONVERT_TZ(FROM_UNIXTIME(tbl_registration.dob),@@session.time_zone,'+00:00')) >= ".date('m',time())." AND IF(month(CONVERT_TZ(FROM_UNIXTIME(tbl_registration.dob),@@session.time_zone,'+00:00'))='".date('m',time())."',day(CONVERT_TZ(FROM_UNIXTIME(tbl_registration.dob),@@session.time_zone,'+00:00'))>= '".date('d',time())."',true)");
//$this->db->get();
//echo $this->db->last_query();die();
return $query->result_array();
}
public function get_doctor_password($id)
{
$this->db->select("password");
$this->db->from("tbl_doctors");
$this->db->where("id",$id);
$query = $this->db->get();
return $query->row_array();
}
public function get_doctor_confirmation_code($id)
{
$this->db->select("confirmation_code");
$this->db->from("tbl_doctors");
$this->db->where("id",$id);
$query = $this->db->get();
return $query->row_array();
}
public function disable_doctor_account($id)
{
$data = array('account_status' =>1);
$this->db->where('tbl_doctors.id',$id);
$this->db->update('tbl_doctors',$data);
}
public function set_confirmation_code($user,$code)
{
$data = array('confirmation_code' =>$code);
$this->db->where('tbl_doctors.id',$user['id']);
$this->db->update('tbl_doctors',$data);
}
} }
?> ?>
\ No newline at end of file
...@@ -261,60 +261,39 @@ ...@@ -261,60 +261,39 @@
<div class="ip_bio_more"> <div class="ip_bio_more">
</div> </div>
</div> </div>
<div class="ip_bio_detail"> <div class="ip_bio_detail">
<div class="ip_bio_notification_list"> <div class="ip_bio_notification_list">
<ul> <ul>
<li> <?php
<h5>Nyla Augusta if(!empty($notifications))
<div class="ip_notification_time">12:56</div> {
</h5> foreach ($notifications as $key => $value)
<p>Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been</p> {
</li> ?>
<li> <li>
<h5>Nyla Augusta <h5><?php echo $value['type_name'];?>
<div class="ip_notification_time">12:56</div> <div class="ip_notification_time"><?php echo change_time_to_local($value['time'])?></div>
</h5> </h5>
<p>Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been</p> <p><?php echo $value['message'];?></p>
</li> </li>
<li> <?php
<h5>Nyla Augusta }
<div class="ip_notification_time">12:56</div> }
</h5>
<p>Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been</p> ?>
</li> <!-- <li>
<li>
<h5>Nyla Augusta
<div class="ip_notification_time">12:56</div>
</h5>
<p>Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been</p>
</li>
<li>
<h5>Nyla Augusta
<div class="ip_notification_time">12:56</div>
</h5>
<p>Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been</p>
</li>
<li>
<h5>Nyla Augusta
<div class="ip_notification_time">12:56</div>
</h5>
<p>Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been</p>
</li>
<li>
<h5>Nyla Augusta
<div class="ip_notification_time">12:56</div>
</h5>
<p>Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been</p>
</li>
<li>
<h5>Nyla Augusta <h5>Nyla Augusta
<div class="ip_notification_time">12:56</div> <div class="ip_notification_time">12:56</div>
</h5> </h5>
<p>Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been</p> <p>Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been</p>
</li> </li> -->
</ul> </ul>
</div> </div>
</div> </div>
</div> </div>
</div> </div>
<div class="col-md-4"> <div class="col-md-4">
...@@ -1122,13 +1101,22 @@ ...@@ -1122,13 +1101,22 @@
<div class="child2"> <div class="child2">
<select name="consultation_duration" id="doc_consult_duration" class="ip_schedule_input_duration " placeholder="" data-parsley-required=""> <select name="consultation_duration" id="doc_consult_duration" class="ip_schedule_input_duration " placeholder="" data-parsley-required="">
<option value="0" disabled selected>Time</option> <option value="0" disabled selected>Time</option>
<?php <option value="10" >10 MIN</option>
<option value="15" >15 MIN</option>
<option value="30" >30 MIN</option>
<option value="45" >45 MIN</option>
<option value="60" >60 MIN</option>
<option value="90" >90 MIN</option>
<option value="120" >120 MIN</option>
<!-- <?php
for ($i = 1; $i <= 60; $i++) { for ($i = 1; $i <= 60; $i++) {
?> ?>
<option value="<?php echo $i?>"><?php echo $i?> MIN</option> <option value="<?php echo $i?>"><?php echo $i?> MIN</option>
<?php <?php
} }
?> ?> -->
</select> </select>
</div> </div>
<div class="clear"></div> <div class="clear"></div>
......
...@@ -347,8 +347,13 @@ ...@@ -347,8 +347,13 @@
<hr> <hr>
<div class="ip_edit_record_detail"> <div class="ip_edit_record_detail">
<div class="row m0"> <div class="row m0">
<div class="col-md-2 p5"><button class="ip_edit_set_btn1">PRINT</button></div> <div class="col-md-2 p5">
<div class="col-md-3 p5"><button class="ip_edit_set_btn2">SEND BY EMAIL</button></div> <!-- <button class="ip_edit_set_btn1">PRINT</button> -->
</div>
<div class="col-md-3 p5">
<!-- <button class="ip_edit_set_btn2">SEND BY EMAIL</button> -->
</div>
<div class="col-md-5 p5"><!-- <button class="ip_edit_set_btn2">SAVE AS A MODEL</button> --></div> <div class="col-md-5 p5"><!-- <button class="ip_edit_set_btn2">SAVE AS A MODEL</button> --></div>
<div class="col-md-2 p5"><a href="javascript:void(0)"><button class="ip_edit_set_btn" id="selected-medicine-final-save" type="button">SAVE</button></a></div> <div class="col-md-2 p5"><a href="javascript:void(0)"><button class="ip_edit_set_btn" id="selected-medicine-final-save" type="button">SAVE</button></a></div>
</div> </div>
...@@ -401,10 +406,10 @@ ...@@ -401,10 +406,10 @@
<div class="ip_edit_row"> <div class="ip_edit_row">
<div class="row m0"> <div class="row m0">
<div class="col-md-2 p5"> <div class="col-md-2 p5">
<button class="ip_edit_set_btn1">PRINT</button> <!-- <button class="ip_edit_set_btn1">PRINT</button> -->
</div> </div>
<div class="col-md-3 p5"> <div class="col-md-3 p5">
<button class="ip_edit_set_btn2">SEND BY EMAIL</button> <!-- <button class="ip_edit_set_btn2">SEND BY EMAIL</button> -->
</div> </div>
<div class="col-md-5 p5"> <div class="col-md-5 p5">
...@@ -504,8 +509,12 @@ ...@@ -504,8 +509,12 @@
<div class="ip_edit_record_detail"> <div class="ip_edit_record_detail">
<div class="row m0"> <div class="row m0">
<!-- <div class="col-md-3 p5"><button class="ip_edit_set_btn1">FINAL BUDJECT</button></div> --> <!-- <div class="col-md-3 p5"><button class="ip_edit_set_btn1">FINAL BUDJECT</button></div> -->
<div class="col-md-2 p5"><button class="ip_edit_set_btn1">PRINT</button></div> <div class="col-md-2 p5">
<div class="col-md-3 p5"><button class="ip_edit_set_btn2">SEND BY MAIL</button></div> <!-- <button class="ip_edit_set_btn1">PRINT</button> -->
</div>
<div class="col-md-3 p5">
<!-- <button class="ip_edit_set_btn2">SEND BY MAIL</button> -->
</div>
<div class="col-md-5 p5"></div> <div class="col-md-5 p5"></div>
<div class="col-md-2 p5"> <div class="col-md-2 p5">
<a href="javascript:void(0)"> <a href="javascript:void(0)">
...@@ -588,8 +597,12 @@ ...@@ -588,8 +597,12 @@
<hr> <hr>
<div class="ip_edit_record_detail"> <div class="ip_edit_record_detail">
<div class="row m0"> <div class="row m0">
<div class="col-md-2 p5"><button class="ip_edit_set_btn1">PRINT</button></div> <div class="col-md-2 p5">
<div class="col-md-3 p5"><button class="ip_edit_set_btn2">SEND BY EMAIL</button></div> <!-- <button class="ip_edit_set_btn1">PRINT</button> -->
</div>
<div class="col-md-3 p5">
<!-- <button class="ip_edit_set_btn2">SEND BY EMAIL</button> -->
</div>
<div class="col-md-5 p5"><!-- <button class="ip_edit_set_btn2">SAVE AS A MODEL</button> --></div> <div class="col-md-5 p5"><!-- <button class="ip_edit_set_btn2">SAVE AS A MODEL</button> --></div>
<div class="col-md-2 p5"> <div class="col-md-2 p5">
<a href="javascript:void(0)"> <a href="javascript:void(0)">
...@@ -636,9 +649,9 @@ ...@@ -636,9 +649,9 @@
<div class="ip_edit_record_detail"> <div class="ip_edit_record_detail">
<div class="ip_edit_row"> <div class="ip_edit_row">
<div class="ip_bank_detail_frame"> <div class="ip_bank_detail_frame">
<select class="ip_bank_input"> <div class="ip_bank_input p12">
<option>Other observation</option> Other Observation
</select> </div>
<!-- <p class="ip_bank_input">Other observation</p> --> <!-- <p class="ip_bank_input">Other observation</p> -->
</div> </div>
</div> </div>
...@@ -669,7 +682,10 @@ ...@@ -669,7 +682,10 @@
<!-- <li><img src="<?php echo base_url();?>assets/images/ip_image1.jpg"></li>--> <!-- <li><img src="<?php echo base_url();?>assets/images/ip_image1.jpg"></li>-->
</ul> </ul>
<div><img src="<?php echo base_url();?>assets/images/ip_upload.png"> <input type="file" name="images[]" id="obsr-images" onchange="certificate_images_loadthumbnail(this)" multiple="multiple"></div> <div class="ip_upload_img ">
<input type="file" name="images[]" id="obsr-images" onchange="certificate_images_loadthumbnail(this)" multiple="multiple">
</div>
<div class="clear"></div>
</div> </div>
</div> </div>
</form> </form>
......
...@@ -18,7 +18,7 @@ ...@@ -18,7 +18,7 @@
<div class="col-md-2 p0"> <div class="col-md-2 p0">
<div class="ip_record_section_header"> <div class="ip_record_section_header">
<!-- 08 Sept, 13.00 - 14:00 --> <!-- 08 Sept, 13.00 - 14:00 -->
<?php echo date('d M',$booking_details['book_date'])?>, <?php echo $booking_details['book_time'];?> <?php echo date('d M',$booking_details['book_date'])?><br><?php echo $booking_details['book_time'];?>
</div> </div>
</div> </div>
<div class="col-md-10 p0"> <div class="col-md-10 p0">
...@@ -80,7 +80,7 @@ ...@@ -80,7 +80,7 @@
{ {
$key = str_replace('_', ' ', $key); $key = str_replace('_', ' ', $key);
?> ?>
<li class="p0"> <li class="p12">
<h5><?php echo $key;?></h5> <h5><?php echo $key;?></h5>
<p><?php echo $value;?></p> <p><?php echo $value;?></p>
</li> </li>
...@@ -91,7 +91,7 @@ ...@@ -91,7 +91,7 @@
{ {
?> ?>
<li class="p0"> <li class="p12">
<h5><?php echo $key;?></h5> <h5><?php echo $key;?></h5>
<p><?php echo implode(",",$value);?></p> <p><?php echo implode(",",$value);?></p>
</li> </li>
...@@ -178,7 +178,7 @@ ...@@ -178,7 +178,7 @@
<?php if(!empty($record_data['exams'][0])) <?php if(!empty($record_data['exams'][0]))
{ {
?> ?>
<li> <li class="p12">
<h5><?php echo $record_data['exams'][0]->procedure;?></h5> <h5><?php echo $record_data['exams'][0]->procedure;?></h5>
<h6><?php echo $record_data['exams'][0]->observation;?></h6> <h6><?php echo $record_data['exams'][0]->observation;?></h6>
</li> </li>
...@@ -249,9 +249,9 @@ ...@@ -249,9 +249,9 @@
<div id="ratting" class="tab-pane fade"> <div id="ratting" class="tab-pane fade">
<div class="ip_profile_tab_detail"> <div class="ip_profile_tab_detail p0">
<div class="ip_ratting_tab_content"> <div class="ip_ratting_tab_content">
<div class="row m0"> <div class="row m0 p15 ip_grey">
<div class="ip_profile_tab_circle"> <div class="ip_profile_tab_circle">
<img src="<?php echo base_url();echo $doctor_data['dr_pic']?>"> <img src="<?php echo base_url();echo $doctor_data['dr_pic']?>">
</div> </div>
...@@ -270,7 +270,9 @@ ...@@ -270,7 +270,9 @@
</form> --> </form> -->
</div> </div>
<div class="ip_profile_tab_name_detail"> <div class="ip_profile_tab_name_detail">
<p><?php if(!empty($record_data['patient_review'])) {echo $record_data['patient_review']; } ?></p> <p><strong>
<?php if(!empty($record_data['patient_review'])) {echo $record_data['patient_review']; } ?>
</strong></p>
</div> </div>
<div class="clear"></div> <div class="clear"></div>
...@@ -285,8 +287,8 @@ ...@@ -285,8 +287,8 @@
<div class="ip_prescription_bottom_btn_bay"> <div class="ip_prescription_bottom_btn_bay">
<button class="ip_prescription_btn2 floatRight">SEND BY EMAIL</button> <!-- <button class="ip_prescription_btn2 floatRight">SEND BY EMAIL</button>
<button class="ip_prescription_btn1 floatRight">PRINT OUT</button> <button class="ip_prescription_btn1 floatRight">PRINT OUT</button> -->
<div class="clear"></div> <div class="clear"></div>
</div> </div>
......
...@@ -78,54 +78,42 @@ ...@@ -78,54 +78,42 @@
<ul> <ul>
<li> <?php
<div class="ip_bio_message_pic"> if(!empty($aniversaries))
</div> {
<div class="ip_bio_messages"> foreach ($aniversaries as $key => $value)
<h5>Nyla Augusta</h5> {
<div class="clear"></div> ?>
<p>22th September</p> <li>
</div> <div class="ip_bio_message_pic">
<div class="ip_message_not"> <img src="<?php echo base_url(); echo $value['profile_photo'];?>">
<img src="<?php echo base_url();?>assets/images/ip_menu4.png"><br> </div>
Messages <div class="ip_bio_messages">
</div> <h5><?php echo $value['name'];?></h5>
<div class="clear"></div> <div class="clear"></div>
</li> <p><?php echo date('d F',$value['dob']);?></p>
<!-- <p>22th September</p> -->
</div>
<div class="ip_message_not">
<img src="<?php echo base_url();?>assets/images/ip_menu4.png"><br>
Messages
</div>
<div class="clear"></div>
</li>
<li> <?php
<div class="ip_bio_message_pic"> }
</div> }
<div class="ip_bio_messages"> ?>
<h5>Nyla Augusta</h5>
<div class="clear"></div>
<p>22th September</p>
</div>
<div class="ip_message_not">
<img src="<?php echo base_url();?>assets/images/ip_menu4.png"><br>
Messages
</div>
<div class="clear"></div>
</li>
<li>
<div class="ip_bio_message_pic">
</div>
<div class="ip_bio_messages">
<h5>Nyla Augusta</h5>
<div class="clear"></div>
<p>22th September</p>
</div>
<div class="ip_message_not">
<img src="<?php echo base_url();?>assets/images/ip_menu4.png"><br>
Messages
</div>
<div class="clear"></div>
</li>
</ul> </ul>
</div> </div>
<div class="ip_notification_btm_btn_bay textCenter" style="padding:30px;"> <div class="ip_notification_btm_btn_bay textCenter" style="padding:30px;">
<button class="ip_notification_btn" style="width: 40%;">View more</button> <!-- <button button="type" class="ip_notification_btn" style="width: 40%;">View more</button> -->
</div> </div>
</div> </div>
</div> </div>
......
...@@ -7,15 +7,21 @@ ...@@ -7,15 +7,21 @@
foreach ($notifications as $key => $value) foreach ($notifications as $key => $value)
{ {
?> ?>
<li> <li>
<h5><?php echo $value['type_name'];?> <h5><?php echo $value['type_name'];?>
<div class="ip_notification_time"><?php echo date('H:i s',$value['time']);?></div>
<div class="ip_notification_time" ><?php echo change_time_to_local($value['time'])?></div>
<!-- <div class="ip_notification_time"><?php echo date('H:i s',$value['time']);?></div> -->
</h5> </h5>
<p><?php echo $value['message'];?></p> <p><?php echo $value['message'];?></p>
</li> </li>
<?php <?php
} }
?> ?>
<input type="hidden" id="doc-noti-pageno" value="<?php echo $notifications_page_no?>"> <input type="hidden" id="doc-noti-pageno" value="<?php echo $notifications_page_no?>">
<?php <?php
...@@ -36,4 +42,7 @@ ...@@ -36,4 +42,7 @@
} }
?> ?>
</div> </div>
\ No newline at end of file
...@@ -414,7 +414,7 @@ ...@@ -414,7 +414,7 @@
<div class="ip_bio_detail textCenter"> <div class="ip_bio_detail textCenter">
<div class="ip_bio_message_list"> <div class="ip_bio_message_list">
<ul> <ul>
<!-- <?php if(!empty($promocodes)) <?php if(!empty($promocodes))
{ {
foreach ($promocodes as $key => $promo) foreach ($promocodes as $key => $promo)
{ {
...@@ -451,10 +451,10 @@ ...@@ -451,10 +451,10 @@
<?php <?php
} }
?> --> ?>
<li> <!-- <li>
<div class="ip_bio_messages width100"> <div class="ip_bio_messages width100">
<div class="ip_promo_image"> <div class="ip_promo_image">
</div> </div>
...@@ -483,7 +483,7 @@ ...@@ -483,7 +483,7 @@
<p>Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been</p> <p>Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been</p>
</div> </div>
<div class="clear"></div> <div class="clear"></div>
</li> </li> -->
</ul> </ul>
</div> </div>
</div> </div>
......
...@@ -17,7 +17,7 @@ ...@@ -17,7 +17,7 @@
<div class="col-md-2 p0"> <div class="col-md-2 p0">
<div class="ip_record_section_header"> <div class="ip_record_section_header">
<!-- 08 Sept, 13.00 - 14:00 --> <!-- 08 Sept, 13.00 - 14:00 -->
<?php echo date('d M',$booking_details['book_date'])?>, <?php echo $booking_details['book_time'];?> <?php echo date('d M',$booking_details['book_date'])?><br><?php echo $booking_details['book_time'];?>
</div> </div>
</div> </div>
<div class="col-md-10 p0"> <div class="col-md-10 p0">
...@@ -79,7 +79,7 @@ ...@@ -79,7 +79,7 @@
{ {
$key = str_replace('_', ' ', $key); $key = str_replace('_', ' ', $key);
?> ?>
<li class="p0"> <li class="p12">
<h5><?php echo $key;?></h5> <h5><?php echo $key;?></h5>
<p><?php echo $value;?></p> <p><?php echo $value;?></p>
</li> </li>
...@@ -90,7 +90,7 @@ ...@@ -90,7 +90,7 @@
{ {
?> ?>
<li class="p0"> <li class="p12">
<h5><?php echo $key;?></h5> <h5><?php echo $key;?></h5>
<p><?php echo implode(",",$value);?></p> <p><?php echo implode(",",$value);?></p>
</li> </li>
...@@ -146,7 +146,7 @@ ...@@ -146,7 +146,7 @@
foreach ($record_data['prescribtions'] as $key => $value) foreach ($record_data['prescribtions'] as $key => $value)
{ {
?> ?>
<li> <li class="p12">
<h5><?php echo $value->name;?> <?php echo $value->quantity;?></h5> <h5><?php echo $value->name;?> <?php echo $value->quantity;?></h5>
<!-- <p>been the industry's standard </p> --> <!-- <p>been the industry's standard </p> -->
<h6><?php echo $value->procedure;?></h6> <h6><?php echo $value->procedure;?></h6>
...@@ -248,9 +248,9 @@ ...@@ -248,9 +248,9 @@
<div id="ratting" class="tab-pane fade"> <div id="ratting" class="tab-pane fade">
<div class="ip_profile_tab_detail"> <div class="ip_profile_tab_detail p0">
<div class="ip_ratting_tab_content"> <div class="ip_ratting_tab_content">
<div class="row m0"> <div class="row m0 p15 ip_grey">
<div class="ip_profile_tab_circle"> <div class="ip_profile_tab_circle">
<img src="<?php echo base_url();echo $patient_data['pt_pic']?>"> <img src="<?php echo base_url();echo $patient_data['pt_pic']?>">
</div> </div>
...@@ -272,16 +272,19 @@ ...@@ -272,16 +272,19 @@
<form id="patient_review_record" role="form" data-parsley-validate=""> <form id="patient_review_record" role="form" data-parsley-validate="">
<input type="hidden" name="booking_id" value="<?php echo $booking_details['book_id'];?>"> <input type="hidden" name="booking_id" value="<?php echo $booking_details['book_id'];?>">
<input type="hidden" name="section" value="review"> <input type="hidden" name="section" value="review">
<textarea data-parsley-required="" name="review" ><?php if(!empty($record_data['patient_review'])) {echo $record_data['patient_review']; } ?></textarea> <div class="ip_bank_detail_frame heightAuto bg_white">
<textarea class="ip_bank_input" rows="4" data-parsley-required="" name="review" ><?php if(!empty($record_data['patient_review'])) {echo $record_data['patient_review']; } ?></textarea>
<!-- <p> is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy </p> --> </div>
<br>
<button class="ip_colaborator_btn" type="button" id="patient_review_record_btn" >UPDATE & SAVE</button>
</div> </div>
<div class="clear"></div> <div class="clear"></div>
<button type="button" id="patient_review_record_btn" >Save</button>
</form> </form>
<br> <br>
<div id="review-success" class="alert alert-success hidden"></div> <div id="review-success" class="alert alert-success hidden textCenter"></div>
<div id="review-error" class="alert alert-danger hidden"></div> <div id="review-error" class="alert alert-danger hidden textCenter"></div>
</div> </div>
</div> </div>
...@@ -290,8 +293,8 @@ ...@@ -290,8 +293,8 @@
<div class="ip_prescription_bottom_btn_bay"> <div class="ip_prescription_bottom_btn_bay">
<button class="ip_prescription_btn2 floatRight">SEND BY EMAIL</button> <!-- <button class="ip_prescription_btn2 floatRight">SEND BY EMAIL</button>
<button class="ip_prescription_btn1 floatRight">PRINT OUT</button> <button class="ip_prescription_btn1 floatRight">PRINT OUT</button> -->
<div class="clear"></div> <div class="clear"></div>
</div> </div>
......
...@@ -188,22 +188,37 @@ ...@@ -188,22 +188,37 @@
<div class="ip_bio_detail"> <div class="ip_bio_detail">
<?php <?php
if($userdata['type']=='DOCTOR') if($userdata['type']=='DOCTOR' and (!empty($this->session->userdata('notifications'))))
{ {
$notifications = $this->session->userdata('notifications');
?> ?>
<div class="ip_bio_notification_list"> <div class="ip_bio_notification_list">
<ul> <ul>
<?php
foreach ($notifications as $key => $value)
{
?>
<li>
<h5><?php echo $value['type_name'];?>
<div class="ip_notification_time"><?php echo change_time_to_local($value['time'])?></div>
</h5>
<p><?php echo $value['message'];?></p>
</li>
<?php
}
<li> ?>
<!-- <li>
<h5>Nyla Augusta <h5>Nyla Augusta
<div class="ip_notification_time">12:56</div> <div class="ip_notification_time">12:56</div>
</h5> </h5>
<p>Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been</p> <p>Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been</p>
</li> </li> -->
</ul> </ul>
<div class="clear"></div>
<div class="ip_notification_btm_btn_bay"> <div class="ip_notification_btm_btn_bay">
<a href="<?php echo base_url();?>Doctor/notification"> <a class="p0" href="<?php echo base_url();?>Doctor/notification">
<button class="ip_notification_btn">See All</button> <button class="ip_notification_btn">See All</button>
</a> </a>
</div> </div>
...@@ -227,8 +242,9 @@ ...@@ -227,8 +242,9 @@
</li> </li>
</ul> </ul>
<div class="clear"></div>
<div class="ip_notification_btm_btn_bay"> <div class="ip_notification_btm_btn_bay">
<a href="<?php echo base_url();?>Patient/notification"> <a class="p0" href="<?php echo base_url();?>Patient/notification">
<button class="ip_notification_btn">See All</button> <button class="ip_notification_btn">See All</button>
</a> </a>
</div> </div>
...@@ -271,12 +287,14 @@ ...@@ -271,12 +287,14 @@
{?> {?>
<ul class="dropdown-menu ip_nav_profile_listing"> <ul class="dropdown-menu ip_nav_profile_listing">
<div class="ip_arrow_up"></div> <div class="ip_arrow_up"></div>
<div class="ip_listing_scroll">
<!-- CODE FOR SHOWING DEPENDENT --> <!-- CODE FOR SHOWING DEPENDENT -->
<?php if(!empty($dependentdata)){ <?php if(!empty($dependentdata)){
foreach ($dependentdata as $key => $value) foreach ($dependentdata as $key => $value)
{ {
?> ?>
<li> <li>
<div class="ip_drop_pic"> <div class="ip_drop_pic">
<img src="<?php echo base_url(); echo $value['image']?>"> <img src="<?php echo base_url(); echo $value['image']?>">
...@@ -288,6 +306,7 @@ ...@@ -288,6 +306,7 @@
} }
} }
?> ?>
</div>
<!-- ................................. --> <!-- ................................. -->
<a href="<?php echo base_url();?>Patient/addDependent"> <a href="<?php echo base_url();?>Patient/addDependent">
<li>Add Dependent</li> <li>Add Dependent</li>
......
...@@ -15,6 +15,7 @@ body::-webkit-scrollbar { ...@@ -15,6 +15,7 @@ body::-webkit-scrollbar {
.width100{width:100% !important;} .width100{width:100% !important;}
.widthAuto{width:auto !important;} .widthAuto{width:auto !important;}
.heightAuto{height:auto !important;}
.height100{height:100% !important;} .height100{height:100% !important;}
.bordernone{border:none !important;} .bordernone{border:none !important;}
.borderrightnone{border-right:none !important;} .borderrightnone{border-right:none !important;}
...@@ -29,7 +30,7 @@ body::-webkit-scrollbar { ...@@ -29,7 +30,7 @@ body::-webkit-scrollbar {
.pl15{padding-left:20px !important;padding-right:20px !important;} .pl15{padding-left:20px !important;padding-right:20px !important;}
.p10{padding: 10px !important;} .p10{padding: 10px !important;}
.p12{padding: 12px !important;} .p12{padding: 12px !important;}
.p15{padding: 15px !important;}
.m0{margin:0px !important;} .m0{margin:0px !important;}
.ml0{margin-left: 0px !important;} .ml0{margin-left: 0px !important;}
.mr0{margin-right: 0px !important;} .mr0{margin-right: 0px !important;}
...@@ -47,6 +48,7 @@ body::-webkit-scrollbar { ...@@ -47,6 +48,7 @@ body::-webkit-scrollbar {
.mr15{margin-right:15px;} .mr15{margin-right:15px;}
.mt10{margin-top:10px !important;} .mt10{margin-top:10px !important;}
.mt30{margin-top:30px !important;} .mt30{margin-top:30px !important;}
.bg_white{background: #fff !important;}
.absolute{position: absolute !important;} .absolute{position: absolute !important;}
.relative{position: relative !important;} .relative{position: relative !important;}
...@@ -172,7 +174,7 @@ body::-webkit-scrollbar { ...@@ -172,7 +174,7 @@ body::-webkit-scrollbar {
.ip_return_option_toggle_btn_visuallyhidden { border: 0; clip: rect(0 0 0 0); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px; } .ip_return_option_toggle_btn_visuallyhidden { border: 0; clip: rect(0 0 0 0); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px; }
.ip_return_option_toggle_btn_visuallyhidden.focusable:active, .ip_return_option_toggle_btn_visuallyhidden.focusable:focus { clip: auto; height: auto; margin: 0; overflow: visible; position: static; width: auto; } .ip_return_option_toggle_btn_visuallyhidden.focusable:active, .ip_return_option_toggle_btn_visuallyhidden.focusable:focus { clip: auto; height: auto; margin: 0; overflow: visible; position: static; width: auto; }
.ip_result_div{width:100%;} .ip_result_div{width:100%;}
.ip_grey{background-color: #fcfcfc !important;}
.ip_result_settings_bay{width:100%;} .ip_result_settings_bay{width:100%;}
.ip_datentime{background-repeat: no-repeat !important;background-size: 30px !important;background-position: right 3px top 4px !important;padding-left: 10px;color:#646669; } .ip_datentime{background-repeat: no-repeat !important;background-size: 30px !important;background-position: right 3px top 4px !important;padding-left: 10px;color:#646669; }
.ip_calender{width:59%;height:40px;border:1px solid #dddddd;float:left;background:url("../images/ip_calender.png");} .ip_calender{width:59%;height:40px;border:1px solid #dddddd;float:left;background:url("../images/ip_calender.png");}
...@@ -359,14 +361,14 @@ body::-webkit-scrollbar { ...@@ -359,14 +361,14 @@ body::-webkit-scrollbar {
.ip_validity_select{width:60px;height:40px;background-color:#ededed !important;border:none;outline: none;-webkit-appearance: none;-moz-appearance: none;padding-left: 10px;background: url(../images/ip_black_down.png);background-position: right -9px top -1px;background-repeat: no-repeat;background-size: 45px;} .ip_validity_select{width:60px;height:40px;background-color:#ededed !important;border:none;outline: none;-webkit-appearance: none;-moz-appearance: none;padding-left: 10px;background: url(../images/ip_black_down.png);background-position: right -9px top -1px;background-repeat: no-repeat;background-size: 45px;}
.ip_card_validity .a1 img{width: 45px;} .ip_card_validity .a1 img{width: 45px;}
.ip_makepayment_btn{width:75%;margin:0 auto;height: 40px;border-radius:20px;background:#b31aaa;border:none;color: #fff;text-align: center;outline:none;font-weight: 600;} .ip_makepayment_btn{width:75%;margin:0 auto;height: 40px;border-radius:20px;background:#b31aaa;border:none;color: #fff;text-align: center;outline:none;font-weight: 600;}
.search-field {float: right;display: block;width: 30px;height:30px;background-color:transparent;background-repeat: no-repeat;background-position:right;font-size: 16px;border:none;cursor:pointer;-webkit-box-sizing: border-box;-moz-box-sizing: border-box;-ms-box-sizing: border-box;box-sizing: border-box;padding-left: 30px;border-radius: 0px;-webkit-transition: all 0.4s ease;-moz-transition: all 0.4s ease;-o-transition: all 0.4s ease;-ms-transition: all 0.4s ease;transition: all 0.4s ease;-webkit-backface-visibility: hidden;position: absolute;top:-3px;right:0px;border-radius:20px;color:#fff;} /*.search-field {float: right;display: block;width: 30px;height:30px;background-color:transparent;background-repeat: no-repeat;background-position:right;font-size: 16px;border:none;cursor:pointer;-webkit-box-sizing: border-box;-moz-box-sizing: border-box;-ms-box-sizing: border-box;box-sizing: border-box;padding-left: 30px;border-radius: 0px;-webkit-transition: all 0.4s ease;-moz-transition: all 0.4s ease;-o-transition: all 0.4s ease;-ms-transition: all 0.4s ease;transition: all 0.4s ease;-webkit-backface-visibility: hidden;position: absolute;top:-3px;right:0px;border-radius:20px;color:#fff;}
.search-field:focus, .search-field:hover {outline: none;min-width: 200px;max-width: 500px;width: 80%;color: #fff;border:1px solid #e4e4e4;padding-left:15px !important;} .search-field:focus, .search-field:hover {outline: none;min-width: 200px;max-width: 500px;width: 80%;color: #fff;border:1px solid #e4e4e4;padding-left:15px !important;}
.search-field::-webkit-input-placeholder {color:#e4e4e4;} .search-field::-webkit-input-placeholder {color:#e4e4e4;}
.search-field::-moz-placeholder {color:#e4e4e4;} .search-field::-moz-placeholder {color:#e4e4e4;}
.search-field::-ms-clear {width : 0;height: 0;} .search-field::-ms-clear {width : 0;height: 0;}*/
#search-text:focus, #search-text:hover {color: #fff;} /*#search-text:focus, #search-text:hover {color: #fff;}
#search-bar {position: relative;} #search-bar {position: relative;}
#search-form{position: absolute;right: 0px;top:-3px;} #search-form{position: absolute;right: 0px;top:-3px;}*/
/*SET_TWO_SCREEN_ONE*/ /*SET_TWO_SCREEN_ONE*/
...@@ -505,7 +507,7 @@ body::-webkit-scrollbar { ...@@ -505,7 +507,7 @@ body::-webkit-scrollbar {
.ip_main_path_stream ul li span img{width:18px;height:18px;} .ip_main_path_stream ul li span img{width:18px;height:18px;}
.ip_records_wrapper{width:100%;background: #fff;min-height:400px;border: 1px solid #f5f5f5;border-radius: 5px;box-shadow: 0px 0px 20px 0px #f5f5f5;} .ip_records_wrapper{width:100%;background: #fff;min-height:400px;border: 1px solid #f5f5f5;border-radius: 5px;box-shadow: 0px 0px 20px 0px #f5f5f5;}
.ip_record_section{width:100%;border-bottom:2px solid #f5f5f5;} .ip_record_section{width:100%;border-bottom:2px solid #f5f5f5;}
.ip_record_section_header{width:100%;height:80px;border-right:2px solid #f5f5f5;text-align: center;font-size: 13px;font-weight: 800;color: #797979;padding: 30px;} .ip_record_section_header{width:100%;height:80px;border-right:2px solid #f5f5f5;text-align: center;font-size: 13px;font-weight: 800;color: #797979;padding:20px;padding-left: 15px;padding-right: 15px;padding-bottom: 15px;}
.ip_record_section_detail{width:100%;border-top:2px solid #f5f5f5;padding: 20px;} .ip_record_section_detail{width:100%;border-top:2px solid #f5f5f5;padding: 20px;}
.ip_record_section_detail .active{background: #a8a8a8;color: #fff;} .ip_record_section_detail .active{background: #a8a8a8;color: #fff;}
.ip_record_section_detail li{list-style: none;color: #919191;font-weight: 600;font-size:12px;} .ip_record_section_detail li{list-style: none;color: #919191;font-weight: 600;font-size:12px;}
...@@ -641,7 +643,11 @@ body::-webkit-scrollbar { ...@@ -641,7 +643,11 @@ body::-webkit-scrollbar {
.ip_bank_input:-ms-input-placeholder {color:#a9a9a9;font-weight:700;} .ip_bank_input:-ms-input-placeholder {color:#a9a9a9;font-weight:700;}
.ip_bank_input:-moz-placeholder {color:#a9a9a9;font-weight:700;} .ip_bank_input:-moz-placeholder {color:#a9a9a9;font-weight:700;}
.ip_bank_detail_frame{width:100%;height:50px;border:2px solid #f5f5f5;color:#a9a9a9;border-radius:4px;} .ip_bank_detail_frame{width:100%;height:50px;border:2px solid #f5f5f5;color:#a9a9a9;border-radius:4px;}
.ip_bank_detail_frame .chosen-container-multi {height:100% !important;}
.ip_bank_detail_frame .chosen-container-multi .chosen-choices{height: 100% !important;border:none !important;background:transparent !important;background-image: none !important;}
.ip_bank_setting_btn{width:30px;float: right;height: 100%;background: url(../images/ip_settings.png);background-repeat: no-repeat;background-position: center;background-size:50px;} .ip_bank_setting_btn{width:30px;float: right;height: 100%;background: url(../images/ip_settings.png);background-repeat: no-repeat;background-position: center;background-size:50px;}
.ip_bank_detail_frame .chosen-container-multi .chosen-choices .search-field{padding: 8px !important;color: #a9a9a9;
font-weight: 700;}
.ip_bank_detail{width:100%;height: 310px;overflow-y: scroll;} .ip_bank_detail{width:100%;height: 310px;overflow-y: scroll;}
.ip_bank_detail::-webkit-scrollbar { display: none; } .ip_bank_detail::-webkit-scrollbar { display: none; }
.ip_bank_detail::-moz-scrollbar { display: none;} .ip_bank_detail::-moz-scrollbar { display: none;}
...@@ -729,9 +735,9 @@ unicode-bidi: bidi-override;display: inline-block;position: relative;bottom: 5px ...@@ -729,9 +735,9 @@ unicode-bidi: bidi-override;display: inline-block;position: relative;bottom: 5px
.ip_edit_attachement h6{width:100%;color: #797979;font-size: 15px;font-weight: 600;margin:0px;} .ip_edit_attachement h6{width:100%;color: #797979;font-size: 15px;font-weight: 600;margin:0px;}
.ip_edit_attachement h6 img{width:40px;margin-right:15px;} .ip_edit_attachement h6 img{width:40px;margin-right:15px;}
.ip_edit_attachement ul{margin:0px;padding:0px;width:80%;padding-left:50px;padding-top: 15px;} .ip_edit_attachement ul{margin:0px;padding:0px;width:80%;padding-left:50px;padding-top: 15px;}
.ip_edit_attachement ul li{list-style:none;color: #a9a9a9;font-weight:600;padding-bottom: 5px;} .ip_edit_attachement ul li{list-style:none;color: #a9a9a9;font-weight:600;padding-bottom: 10px;}
.ip_attach_file_name{float: left;width:65%;} .ip_attach_file_name{float: left;width:50%;white-space: nowrap;overflow: hidden;text-overflow: ellipsis;}
.ip_attach_file_size{float: left;} .ip_attach_file_size{float: right;}
.ip_attach_close{float: right;} .ip_attach_close{float: right;}
.ip_attach_close img{width:20px;} .ip_attach_close img{width:20px;}
.ip_image_attach{width:100%;padding: 20px;padding-top: 0px;} .ip_image_attach{width:100%;padding: 20px;padding-top: 0px;}
...@@ -929,9 +935,14 @@ unicode-bidi: bidi-override;display: inline-block;position: relative;bottom: 5px ...@@ -929,9 +935,14 @@ unicode-bidi: bidi-override;display: inline-block;position: relative;bottom: 5px
/* SET-FOUR-SCREEN-FOUR */ /* SET-FOUR-SCREEN-FOUR */
.ip_nav_profile_listing{width:210px;margin: 0px;border: 1px solid #f5f5f5;padding: 0px;box-shadow: none;top: 51px;} .ip_listing_scroll{width:100%;max-height:200px;overflow:scroll;background-color: #fff;}
.ip_listing_scroll::-webkit-scrollbar { display: none; }
.ip_listing_scroll::-moz-scrollbar { display: none; }
.ip_nav_profile_listing{width:210px;margin: 0px;border: 1px solid #f5f5f5;padding: 0px;padding-top:10px;box-shadow: none;top: 51px;}
.ip_nav_profile_listing::-webkit-scrollbar { display: none; }
.ip_nav_profile_listing::-moz-scrollbar { display: none; }
.ip_nav_profile_listing .ip_arrow_up{width: 0;height: 0;border-left:10px solid transparent;left: 16%;border-right: 10px solid transparent;border-bottom: 20px solid #fff;position: absolute;right:9px;top:-14px;} .ip_nav_profile_listing .ip_arrow_up{width: 0;height: 0;border-left:10px solid transparent;left: 16%;border-right: 10px solid transparent;border-bottom: 20px solid #fff;position: absolute;right:9px;top:-14px;}
.ip_nav_profile_listing li{width:100%;color:#797979;text-align: center;border-bottom:2px solid #f5f5f5;padding: 15px;font-weight: 800;} .ip_nav_profile_listing li{width:100%;color:#797979;text-align: center;border-bottom:2px solid #f5f5f5;padding: 10px;font-weight: 800;}
.ip_notification_btn_grey{background: #a4a4a4;color: #fff;border-radius:4px;height: 30px;border:none; width: 160px;position: relative;top:5px;outline: none;} .ip_notification_btn_grey{background: #a4a4a4;color: #fff;border-radius:4px;height: 30px;border:none; width: 160px;position: relative;top:5px;outline: none;}
.ip_nav_profile_listing a{padding:0px !important;width: 100%;text-align: center;} .ip_nav_profile_listing a{padding:0px !important;width: 100%;text-align: center;}
.ip_nav_profile_listing a li{text-align: center !important;} .ip_nav_profile_listing a li{text-align: center !important;}
...@@ -1849,9 +1860,9 @@ fieldset[disabled] .datepicker table tr td span.active.disabled:hover.active { ...@@ -1849,9 +1860,9 @@ fieldset[disabled] .datepicker table tr td span.active.disabled:hover.active {
.ip_add_dependent_detail h5{color: #797979;font-weight: 800;} .ip_add_dependent_detail h5{color: #797979;font-weight: 800;}
.ip_add_dependent_detail p{color: #797979;font-weight: 500;} .ip_add_dependent_detail p{color: #797979;font-weight: 500;}
.ip_drop_pic{width:40px;height:40px;border-radius: 50%;background-color: #a5a5a5;float: left} .ip_drop_pic{width:30px;height:30px;border-radius: 50%;background-color: #a5a5a5;float: left}
.ip_drop_pic img{width:100%;height:100%;object-fit: cover;object-position: center;border-radius: 50%;} .ip_drop_pic img{width:100%;height:100%;object-fit: cover;object-position: center;border-radius: 50%;}
.ip_drop_detail{float: left;color: #797979;padding: 10px;} .ip_drop_detail{float: left;color: #797979;padding: 8px;font-size: 12px;font-weight: 400;}
.ip_notification_btn_bay{padding:20px;} .ip_notification_btn_bay{padding:20px;}
.ip_accept{background: #b31aaa;border-radius: 3px;padding-left:30px;padding-right:30px;color: #fff;text-align: center;height: 30px;font-weight: 700;border: none;} .ip_accept{background: #b31aaa;border-radius: 3px;padding-left:30px;padding-right:30px;color: #fff;text-align: center;height: 30px;font-weight: 700;border: none;}
...@@ -1934,8 +1945,8 @@ button[disabled], html input[disabled]{background: #fafafa !important;} ...@@ -1934,8 +1945,8 @@ button[disabled], html input[disabled]{background: #fafafa !important;}
.full_screen_loader .inner_div{color: #fff;text-align: center;width: 100px;height:100px;margin:0 auto;margin: 20% auto;} .full_screen_loader .inner_div{color: #fff;text-align: center;width: 100px;height:100px;margin:0 auto;margin: 20% auto;}
.full_screen_loader .inner_div img{width: 100%;height:100%;object-position:center;} .full_screen_loader .inner_div img{width: 100%;height:100%;object-position:center;}
.ip_promo_div .parsley-errors-list{top: 45px !important;} .ip_promo_div .parsley-errors-list{top: 45px !important;}
.ip_upload_img{width:80px;height:70px;position:relative;background:url(../images/ip_upload.png);background-repeat: no-repeat;background-position: center;}
.ip_upload_img input[type=file]{position: absolute;top:0px;left:0px;right:0px;bottom:0px;opacity: 0;}
......
...@@ -242,7 +242,7 @@ function certificate_images_loadthumbnail(file) ...@@ -242,7 +242,7 @@ function certificate_images_loadthumbnail(file)
var img_div = '<li id="othr-obsr-img'+i+'" pos="'+i+'"><img src="'+tmppath+'"></li>' var img_div = '<li id="othr-obsr-img'+i+'" pos="'+i+'"><img src="'+tmppath+'"></li>'
$('#certificate-show-img').append(img_div); $('#certificate-show-img').append(img_div);
var name_div = '<li id="othr-obsr-det'+i+'" pos="'+i+'"><div class="ip_attach_file_name">'+elem[i].name+'</div><div class="ip_attach_file_size">'+(elem[i].size)/1000+' KB</div><div class="ip_attach_close remove_othr_obsr_img" pos="'+i+'"><img src="'+base_url+'assets/images/ip_attach_close.png"></div><div class="clear"></div></li>' var name_div = '<li id="othr-obsr-det'+i+'" pos="'+i+'"><div class="ip_attach_file_name">'+elem[i].name+'</div><div class="ip_attach_close remove_othr_obsr_img" pos="'+i+'"><img src="'+base_url+'assets/images/ip_attach_close.png"></div><div class="ip_attach_file_size">'+(elem[i].size)/1000+' KB</div><div class="clear"></div></li>'
$('#certificate-show-details').append(name_div); $('#certificate-show-details').append(name_div);
} }
//console.log(array_other_obsr_file) //console.log(array_other_obsr_file)
...@@ -311,7 +311,7 @@ $(document).on("click",".remove_othr_obsr_img",function() ...@@ -311,7 +311,7 @@ $(document).on("click",".remove_othr_obsr_img",function()
var img_div = '<li id="othr-obsr-img'+i+'" pos="'+i+'"><img src="'+tmppath+'"></li>' var img_div = '<li id="othr-obsr-img'+i+'" pos="'+i+'"><img src="'+tmppath+'"></li>'
$('#certificate-show-img').append(img_div); $('#certificate-show-img').append(img_div);
var name_div = '<li id="othr-obsr-det'+i+'" pos="'+i+'"><div class="ip_attach_file_name">'+array_other_obsr_file[i].name+'</div><div class="ip_attach_file_size">'+(array_other_obsr_file[i].size)/1000+' KB</div><div class="ip_attach_close remove_othr_obsr_img" pos="'+i+'"><img src="'+base_url+'assets/images/ip_attach_close.png"></div><div class="clear"></div></li>' var name_div = '<li id="othr-obsr-det'+i+'" pos="'+i+'"><div class="ip_attach_file_name">'+array_other_obsr_file[i].name+'</div><div class="ip_attach_close remove_othr_obsr_img" pos="'+i+'"><img src="'+base_url+'assets/images/ip_attach_close.png"></div><div class="ip_attach_file_size">'+(array_other_obsr_file[i].size)/1000+' KB</div><div class="clear"></div></li>'
$('#certificate-show-details').append(name_div); $('#certificate-show-details').append(name_div);
} }
...@@ -3170,9 +3170,9 @@ $('#doc_del_check_code_sub').click(function() ...@@ -3170,9 +3170,9 @@ $('#doc_del_check_code_sub').click(function()
if ($('#doc_profile_delete_confirmation').parsley().validate() ) if ($('#doc_profile_delete_confirmation').parsley().validate() )
{ {
/*var result = post_ajax(base_url+'Doctor/check_current_user_confirmationcode',$('#doc_profile_delete_confirmation').serializeArray()); var result = post_ajax(base_url+'Doctor/check_current_user_confirmationcode',$('#doc_profile_delete_confirmation').serializeArray());
var items = JSON.parse(result);*/ var items = JSON.parse(result);
var items = {'status':'success'}; //var items = {'status':'success'};
if(items.status=="success") if(items.status=="success")
{ {
$('#doc-delete-con').modal('hide'); $('#doc-delete-con').modal('hide');
...@@ -3191,9 +3191,9 @@ $('#doc_del_check_login_sub').click(function() ...@@ -3191,9 +3191,9 @@ $('#doc_del_check_login_sub').click(function()
if ($('#doc_profile_delete').parsley().validate() ) if ($('#doc_profile_delete').parsley().validate() )
{ {
//var result = post_ajax(base_url+'Doctor/check_current_user_credential',$('#doc_profile_delete').serializeArray()); var result = post_ajax(base_url+'Doctor/check_current_user_credential',$('#doc_profile_delete').serializeArray());
//var items = JSON.parse(result); var items = JSON.parse(result);
var items = {'status':'success'}; //var items = {'status':'success'};
if(items.status=="success") if(items.status=="success")
{ {
$('#doc-delete').modal('hide'); $('#doc-delete').modal('hide');
...@@ -3207,10 +3207,11 @@ $('#doc_del_check_login_sub').click(function() ...@@ -3207,10 +3207,11 @@ $('#doc_del_check_login_sub').click(function()
}) })
$('.doc-delete-profile').click(function(){ $('.doc-delete-profile').click(function()
/* $('.reset-form').val(''); {
$('.reset-form').val('');
$('#doc_profile_delete_error').addClass('hidden') $('#doc_profile_delete_error').addClass('hidden')
$('#doc-delete').modal('show');*/ $('#doc-delete').modal('show');
}) })
/*DOCTOR PROFILE DELETE ENDS*/ /*DOCTOR PROFILE DELETE ENDS*/
......
No preview for this file type
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment