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
e23d2b75
Commit
e23d2b75
authored
Aug 03, 2018
by
Jansa Jose
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
timeslot
parent
29f45d83
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
Webservice.php
admin/application/controllers/Webservice.php
+1
-1
No files found.
admin/application/controllers/Webservice.php
View file @
e23d2b75
...
...
@@ -1610,7 +1610,7 @@ print_r(date('H:i',$ms));exit();*/
$end
=
$i
+
$interval_time
;
if
(
isset
(
$value
[
'time'
][
'break_from'
])
&&
isset
(
$value
[
'time'
][
'break_to'
])
&&
(
$value
[
'time'
][
'break_from'
]
!=
'null'
)
&&
(
$value
[
'time'
][
'break_to'
]
!=
'null'
)
&&
strlen
(
$value
[
'time'
][
'break_from'
])
&&
strlen
(
$value
[
'time'
][
'break_to'
])){
if
(
!
(((
$initial
<
strtotime
(
$value
[
'time'
][
'break_from'
]))
&&
(
$end
>
strtotime
(
$value
[
'time'
][
'break_from'
])))
||
((
$initial
<
strtotime
(
$value
[
'time'
][
'break_to'
]))
&&
(
$end
>
strtotime
(
$value
[
'time'
][
'break_to'
])
)))){
if
(
!
(((
$initial
<
$break_from
)
&&
(
$end
>
$break_from
))
||
((
$initial
<
$break_to
)
&&
(
$end
>
$break_to
)))){
if
(
$end
<=
$end_time
&&
(
$initial
>
strtotime
(
$nowin_server_addoffset
))){
$time
=
date
(
'h:i a'
,
$initial
)
.
' - '
.
date
(
'h:i a'
,
$end
);
$result
=
$this
->
Webservice_model
->
is_waiting_list_used
(
$data
,
$time
);
...
...
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