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
5c1592b8
Commit
5c1592b8
authored
6 years ago
by
Jansa Jose
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cancel booking web
parent
c8c681aa
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
1 deletion
+5
-1
Patient.php
application/controllers/Patient.php
+3
-1
Patient_model.php
application/models/Patient_model.php
+2
-0
No files found.
application/controllers/Patient.php
View file @
5c1592b8
...
@@ -30,7 +30,9 @@ public function index()
...
@@ -30,7 +30,9 @@ public function index()
$completed_consultation
=
$this
->
Patient_model
->
get_patient_completed_consultation
(
$userdata
[
'id'
]);
$completed_consultation
=
$this
->
Patient_model
->
get_patient_completed_consultation
(
$userdata
[
'id'
]);
$confirmed_consultation
=
$this
->
Patient_model
->
get_patient_confirmed_consultation
(
$userdata
[
'id'
]);
//get all confirmed and waiting list bookings
$confirmed_consultation
=
$this
->
Patient_model
->
get_patient_confirmed_consultation
(
$userdata
[
'id'
]);
//echo $this->db->last_query();exit();
//get all confirmed and waiting list bookings
/*$canceled_consultation = $this->Patient_model->get_patient_canceled_consultation($userdata['id']); //get all canceled bookings*/
/*$canceled_consultation = $this->Patient_model->get_patient_canceled_consultation($userdata['id']); //get all canceled bookings*/
$policy
=
$this
->
Patient_model
->
get_policy
();
$policy
=
$this
->
Patient_model
->
get_policy
();
...
...
This diff is collapsed.
Click to expand it.
application/models/Patient_model.php
View file @
5c1592b8
...
@@ -384,6 +384,8 @@ public function check_waiting_list($data)
...
@@ -384,6 +384,8 @@ public function check_waiting_list($data)
$this
->
db
->
where
(
'payment_status'
,
1
);
$this
->
db
->
where
(
'payment_status'
,
1
);
$this
->
db
->
group_by
(
'id'
);
$query
=
$this
->
db
->
get
();
$query
=
$this
->
db
->
get
();
return
$query
->
row_array
();
return
$query
->
row_array
();
...
...
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