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
3d671765
Commit
3d671765
authored
6 years ago
by
Jansa Jose
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
webpro
parent
9f0b2161
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
Patient.php
application/controllers/Patient.php
+1
-3
Patient_model.php
application/models/Patient_model.php
+3
-1
No files found.
application/controllers/Patient.php
View file @
3d671765
...
...
@@ -266,9 +266,7 @@ public function editProfile()
$template
[
'page'
]
=
"patient_editprofile"
;
$template
[
'page_title'
]
=
"Edit Profile"
;
$template
[
'data'
]
=
"Patient page"
;
$patient_data
=
$this
->
Patient_model
->
get_single_patient
(
$userdata
[
'id'
]);
$patient_data
[
'pt_gender'
]
=
decrypt_data
(
$patient_data
[
'pt_gender'
]);
//unset($patient_data['pt_gender']);
$patient_data
=
$this
->
Patient_model
->
get_single_patient
(
$userdata
[
'id'
]);
//unset($patient_data['pt_gender']);
$template
[
'patient_data'
]
=
$patient_data
;
$this
->
load
->
view
(
'template/template'
,
$template
);
}
...
...
This diff is collapsed.
Click to expand it.
application/models/Patient_model.php
View file @
3d671765
...
...
@@ -26,7 +26,9 @@ public function get_single_patient($id)
tbl_registration.profile_photo as pt_pic,
tbl_registration.gender as pt_gender,
case when tbl_registration.gender = '0' then 'MALE' when tbl_registration.gender = '1'
then 'FEMALE' else 'OTHERS' end as pt_gender,
tbl_registration.email as pt_email,
...
...
This diff is collapsed.
Click to expand it.
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