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
e2df105e
Commit
e2df105e
authored
Jul 30, 2018
by
Jansa Jose
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Temp
parent
648edcc4
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
Doctor_model.php
application/models/Doctor_model.php
+2
-2
Home_model.php
application/models/Home_model.php
+1
-0
No files found.
application/models/Doctor_model.php
View file @
e2df105e
...
...
@@ -530,9 +530,9 @@ function get_distinct_exams()
$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
(
"CAST(AES_DECRYPT(`exam_procedure`,'Ptf/PWNWrULQT72syxfaaBRTS9JbiKrj9dfuVEvT3rA') as CHAR)"
);
$this
->
db
->
group_by
(
'exam_procedure'
);
$query
=
$this
->
db
->
get
();
print_r
(
$query
->
result_array
());
exit
();
//
print_r($query->result_array());exit();
return
$query
->
result_array
();
}
...
...
application/models/Home_model.php
View file @
e2df105e
...
...
@@ -416,6 +416,7 @@
$this
->
db
->
select
(
"CAST(AES_DECRYPT(`dob`,'Ptf/PWNWrULQT72syxfaaBRTS9JbiKrj9dfuVEvT3rA') as CHAR) as dob"
);
$this
->
db
->
where
(
'id'
,
$patient_data
[
'id'
]);
$query_date
=
$this
->
db
->
get
(
'tbl_registration'
)
->
row
();
//print_r($query_date);exit();
unset
(
$patient_data
[
'dob'
]);
$patient_data
[
'dob'
]
=
$query_date
->
dob
;
...
...
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