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
0f01becd
Commit
0f01becd
authored
Jul 23, 2018
by
Jansa Jose
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
temp
parent
10d4c170
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
7 deletions
+6
-7
Webservice.php
admin/application/controllers/Webservice.php
+3
-3
Webservice_model.php
admin/application/models/Webservice_model.php
+3
-4
No files found.
admin/application/controllers/Webservice.php
View file @
0f01becd
...
...
@@ -1890,9 +1890,9 @@ print_r(date('H:i',$ms));exit();*/
}
else
{
$res
=
array
(
"status"
=>
"
error
"
,
"error"
=>
"No Data"
,
"
message"
=>
"No more Bookings"
"status"
=>
"
success
"
,
//
"error"=> "No Data",
"
data"
=>
array
(
'booking_list'
=>
[])
);
}
}
...
...
admin/application/models/Webservice_model.php
View file @
0f01becd
...
...
@@ -3493,13 +3493,12 @@ class Webservice_model extends CI_Model {
if
(
isset
(
$old_book_res
)
&&
$old_book_res
!=
''
){
if
(
$old_book_res
->
visit_type
==
'0'
){
$visit
=
'1'
;
$is_return_avail
=
false
;
}
else
{
$is_return_avail
=
true
;
}
else
{
$is_return_avail
=
false
;
}
}
else
{
$is_return_avail
=
tru
e
;
$is_return_avail
=
fals
e
;
}
}
...
...
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