Commit 44642541 by Jansa Jose

change web pat

parent f481e1e1
......@@ -1057,7 +1057,7 @@ public function save_medicalrecord_data()
$nowin_server_addoffset = date('Y-m-d H:i:s',strtotime('-'.$offset->hour.' hour -'.$offset->minute.' minutes',strtotime($nowin_server)));
}
$insert_array['patient_review'] = $_POST['review'];
$insert_array['patient_review'] = encrypt_data($_POST['review']);
$update = $this->Doctor_model->update_records($_POST['booking_id'],$insert_array);
if($update)
......
......@@ -712,11 +712,11 @@ public function record()
$patient_data = $this->Patient_model->get_single_patient($booking_details['pat_id']);
$record_data['diseases'] = json_decode($record_data['diseases']);
$record_data['prescribtions'] = json_decode($record_data['prescribtions']);
$record_data['exams'] = json_decode($record_data['exams']);
$record_data['budget'] = json_decode($record_data['budget']);
$record_data['letters'] = json_decode($record_data['letters']);
$record_data['diseases'] = json_decode(decrypt_data($record_data['diseases']));
$record_data['prescribtions'] = json_decode(decrypt_data($record_data['prescribtions']));
$record_data['exams'] = json_decode(decrypt_data($record_data['exams']));
$record_data['budget'] = json_decode(decrypt_data($record_data['budget']));
$record_data['letters'] = json_decode(decrypt_data($record_data['letters']));
//print_r($record_data);die();
......
......@@ -256,7 +256,7 @@
<img src="<?php echo base_url();echo $patient_data['pt_pic']?>">
</div>
<div class="ip_profile_tab_name">
<h3><?php echo $patient_data['pt_name']?></h3>
<h3><?php echo decrypt_data($patient_data['pt_name'])?></h3>
<!-- <form id="ip_user_rating_form">
<div id="ip_selected_rating" class="ip_selected_rating floatLeft">5.0</div>
<span class="ip_user_rating floatLeft">
......@@ -274,7 +274,7 @@
<input type="hidden" name="booking_id" value="<?php echo $booking_details['book_id'];?>">
<input type="hidden" name="section" value="review">
<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>
<textarea class="ip_bank_input" rows="4" data-parsley-required="" name="review" ><?php if(!empty($record_data['patient_review'])) {echo decrypt_data($record_data['patient_review']); } ?></textarea>
</div>
<br>
......
......@@ -57,7 +57,7 @@
<div class="col-md-6">
<p class="ip_row_p"><?php load_language('date_of_birth');?></p>
<div class="ip_bank_detail_frame" id="edit-patient">
<input name="dob" readonly class="ip_bank_input" placeholder="" data-parsley-required="true" >
<input name="dob" readonly class="ip_bank_input" placeholder="" data-parsley-required="true" value="<?php echo $patient_data['pt_dob'];?>">
</div>
</div>
<div class="col-md-6">
......
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