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
6c2ef404
Commit
6c2ef404
authored
Apr 22, 2024
by
alissonalbuquerque
Browse files
Merge branch 'main' of
https://github.com/alissonalbuquerque/pad-upe
parents
fb75ebce
debb3a9b
Changes
1
Hide whitespace changes
Inline
Side-by-side
resources/views/task-time/index.blade.php
View file @
6c2ef404
...
@@ -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
;
}
}
...
@@ -88,7 +90,7 @@
...
@@ -88,7 +90,7 @@
</
div
>
</
div
>
</
div
>
</
div
>
@
else
@
else
@
endif
@
endif
</
td
>
</
td
>
@
endif
@
endif
...
@@ -120,4 +122,4 @@
...
@@ -120,4 +122,4 @@
'btn_class'
=>
'btn-edit_task'
,
'btn_class'
=>
'btn-edit_task'
,
])
])
@
endsection
@
endsection
\ No newline at end of file
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