Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
3
3f-timesheet
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
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
dockers
3f-timesheet
Commits
5732938c
Commit
5732938c
authored
Nov 02, 2022
by
Azhan Hannan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bugs
parent
8b5fadd4
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
packages/portal/timesheet/src/Http/Controllers/FormController.php
+2
-2
No files found.
packages/portal/timesheet/src/Http/Controllers/FormController.php
View file @
5732938c
...
@@ -844,14 +844,14 @@ class FormController extends Controller
...
@@ -844,14 +844,14 @@ class FormController extends Controller
$dt
=
[];
$dt
=
[];
if
(
$phase
==
1
){
if
(
$phase
==
1
){
for
(
$i
=
0
;
$i
<
15
;
$i
++
)
{
for
(
$i
=
0
;
$i
<
15
;
$i
++
)
{
$temp
=
Carbon
::
create
(
$year
,
$month
,
$i
+
1
,
);
$temp
=
Carbon
::
create
(
$year
,
$month
,
$i
+
1
);
$dt
[]
=
$temp
->
toDateString
();
$dt
[]
=
$temp
->
toDateString
();
}
}
}
}
else
else
{
{
for
(
$j
=
15
;
$j
<
$daymonth
;
$j
++
)
{
for
(
$j
=
15
;
$j
<
$daymonth
;
$j
++
)
{
$temp
=
Carbon
::
create
(
$year
,
$month
,
$j
+
1
,
);
$temp
=
Carbon
::
create
(
$year
,
$month
,
$j
+
1
);
$dt
[]
=
$temp
->
toDateString
();
$dt
[]
=
$temp
->
toDateString
();
}
}
}
}
...
...
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