Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
I
IPok_Web
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
IPok
IPok_Web
Commits
5037abd0
Commit
5037abd0
authored
Jul 30, 2018
by
Jansa Jose
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
payment
parent
4f64a3df
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
5 deletions
+6
-5
Webservice_model.php
admin/application/models/Webservice_model.php
+1
-1
Doctor_model.php
application/models/Doctor_model.php
+4
-3
Home_model.php
application/models/Home_model.php
+1
-1
No files found.
admin/application/models/Webservice_model.php
View file @
5037abd0
...
...
@@ -3795,7 +3795,7 @@ class Webservice_model extends CI_Model {
$data
[
'pt_name'
]
=
decrypt_data
(
$data
[
'pt_name'
]);
$data
[
'pt_gender'
]
=
decrypt_data
(
$data
[
'pt_gender'
]);
$data
[
'pt_number'
]
=
decrypt_data
(
$data
[
'pt_number'
]);
$data
[
'blood_group'
]
=
decrypt_data
(
$data
[
'blood_group'
]);
$data
[
'
pt_
blood_group'
]
=
decrypt_data
(
$data
[
'blood_group'
]);
$data
[
'pt_weight'
]
=
decrypt_data
(
$data
[
'pt_weight'
]);
$data
[
'pt_height'
]
=
decrypt_data
(
$data
[
'pt_height'
]);
$data
[
'pt_street_add'
]
=
decrypt_data
(
$data
[
'pt_street_add'
]);
...
...
application/models/Doctor_model.php
View file @
5037abd0
...
...
@@ -527,11 +527,12 @@ function get_distinct_medicines()
function
get_distinct_exams
()
{
$this
->
db
->
select
(
'exam_procedure as
exam_name,
id as exam_id
'
);
$this
->
db
->
select
(
"CAST(AES_DECRYPT(`exam_procedure`,'Ptf/PWNWrULQT72syxfaaBRTS9JbiKrj9dfuVEvT3rA') as CHAR) as
exam_name,
id as exam_id
"
);
$this
->
db
->
from
(
'tbl_exams'
);
$this
->
db
->
group_by
(
'exam_procedure'
);
$this
->
db
->
group_by
(
"CAST(AES_DECRYPT(`exam_procedure`,'Ptf/PWNWrULQT72syxfaaBRTS9JbiKrj9dfuVEvT3rA') as CHAR)"
);
$query
=
$this
->
db
->
get
();
//print_r($query->result_array());exit();
return
$query
->
result_array
();
}
...
...
application/models/Home_model.php
View file @
5037abd0
...
...
@@ -432,7 +432,7 @@
$this
->
db
->
where
(
'id'
,
$patient_email
[
'id'
]);
$query_date
=
$this
->
db
->
get
(
'tbl_registration'
)
->
row
();
unset
(
$patient_email
[
'dob'
]);
$patient_email
[
'dob'
]
=
$query_date
->
email
;
$patient_email
[
'dob'
]
=
$query_date
->
dob
;
$return_array
=
array
(
'status'
=>
'success'
,
'type'
=>
$type
,
'userdata'
=>
$patient_email
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment