Commit 648edcc4 by Jansa Jose

payments methd

parent 95a5ad95
......@@ -6898,10 +6898,10 @@ print_r(date('H:i',$ms));exit();*/
$token = json_decode($request);
if ($check_markbooking['count'] != 1) {
$res = array('status' => 'fail', 'payment_status' => '0', 'message' => 'No Booking Found');
$res = array('status' => 'error', 'payment_status' => '0', 'message' => 'No Booking Found');
}
elseif(!empty($token->errors->number)) {
$res = array('status' => 'fail', 'payment_status' => '0', 'message' => 'Invalid Card Provided');
$res = array('status' => 'error', 'payment_status' => '0', 'message' => 'Invalid Card Provided');
}
else {
if (empty($patient_data['pt_customer_id'])) {
......
......@@ -532,7 +532,7 @@ function get_distinct_exams()
$this->db->from('tbl_exams');
$this->db->group_by("CAST(AES_DECRYPT(`exam_procedure`,'Ptf/PWNWrULQT72syxfaaBRTS9JbiKrj9dfuVEvT3rA') as CHAR)");
$query = $this->db->get();
//print_r($query->result_array());exit();
print_r($query->result_array());exit();
return $query->result_array();
}
......
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