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
105130d4
Commit
105130d4
authored
6 years ago
by
Jansa Jose
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'jansa'
parents
bad8aff5
9e2a40c6
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
Patient.php
application/controllers/Patient.php
+3
-0
No files found.
application/controllers/Patient.php
View file @
105130d4
...
...
@@ -143,9 +143,11 @@ public function cancelBooking()
/*------------------------------------------------*/
$check_waiting_list
=
$this
->
Patient_model
->
check_waiting_list
(
$result
);
print_r
(
$check_waiting_list
);
echo
"<br>"
;
//check any user Exist in waiting List on that date if true ;
if
(
$check_waiting_list
[
'count'
]
>
0
)
{
echo
"yes"
;
exit
();
$this
->
Patient_model
->
change_waitinglist_to_confirmed
(
$check_waiting_list
[
'booking_id'
]);
$booking_details_waiting
=
$this
->
Doctor_model
->
get_booking_details
(
$check_waiting_list
[
'booking_id'
]);
...
...
@@ -202,6 +204,7 @@ public function cancelBooking()
}
//if no user exist in waiting list on that particular date. check on next date.
else
{
echo
"no"
;
exit
();
$nextday
=
$booking_details
[
'book_date'
];
$next_day_consult
=
$this
->
wait_list_data
(
$booking_details
,
$nextday
,
''
);
//$nextday = strtotime(date('Y-m-d', strtotime('+1 day', $booking_details['book_date'])));
...
...
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