Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Walter Felipe
pad-upe
Commits
debb3a9b
Commit
debb3a9b
authored
Apr 18, 2024
by
alissonalbuquerque
Browse files
fix(calendar-week)
parent
08a8a673
Changes
1
Show whitespace changes
Inline
Side-by-side
resources/views/task-time/index.blade.php
View file @
debb3a9b
...
@@ -31,6 +31,8 @@
...
@@ -31,6 +31,8 @@
$weekColumns
=
[];
$weekColumns
=
[];
$COLUMN_NAN
=
'NaN'
;
$max_len_column
=
0
;
$max_len_column
=
0
;
foreach
(
array_keys
(
TaskTime
::
listWeekDays
())
as
$weekday
)
{
foreach
(
array_keys
(
TaskTime
::
listWeekDays
())
as
$weekday
)
{
...
@@ -46,7 +48,7 @@
...
@@ -46,7 +48,7 @@
foreach
(
range
(
0
,
$max_len_column
-
1
)
as
$i
)
{
foreach
(
range
(
0
,
$max_len_column
-
1
)
as
$i
)
{
$row
=
[];
$row
=
[];
foreach
(
array_keys
(
TaskTime
::
listWeekDays
())
as
$weekday
)
{
foreach
(
array_keys
(
TaskTime
::
listWeekDays
())
as
$weekday
)
{
isset
(
$weekColumns
[
$weekday
][
$i
])
?
array_push
(
$row
,
$weekColumns
[
$weekday
][
$i
])
:
array_push
(
$row
,
null
);
isset
(
$weekColumns
[
$weekday
][
$i
])
?
array_push
(
$row
,
$weekColumns
[
$weekday
][
$i
])
:
array_push
(
$row
,
$COLUMN_NAN
);
}
}
$calendar
[]
=
$row
;
$calendar
[]
=
$row
;
}
}
...
...
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