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
8b01f824
Commit
8b01f824
authored
Dec 01, 2022
by
Azhan Hannan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
changes
parent
1959b323
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
24 additions
and
2 deletions
+24
-2
packages/portal/timesheet/resources/views/dashboard/timesheetViewer.blade.php
+24
-2
No files found.
packages/portal/timesheet/resources/views/dashboard/timesheetViewer.blade.php
View file @
8b01f824
...
@@ -529,7 +529,30 @@
...
@@ -529,7 +529,30 @@
{
{
foreach (
$haribekerja
as
$key
=>
$hari
) {
foreach (
$haribekerja
as
$key
=>
$hari
) {
if (data_get(
$hari
,'day_type') == 2 && data_get(
$hari
,'day_type') == 3)
if (data_get(
$hari
,'day_type') == 2)
{
if (
$chargehour
) {
$valcbyday
=
$chargehour->where
('td_date','=',
$date
)
->where('tm_phase',
$phase
);
foreach(
$valcbyday
as
$key
=>
$value
) {
$totalcbyday
+= data_get(
$value
,'td_hours');
}
}
if (
$overheadhour
) {
$valoverheadbyday
=
$overheadhour->where
('td_date','=',
$date
)
->where('tm_phase',
$phase
);
foreach(
$valoverheadbyday
as
$key
=>
$value
) {
$totaloverheadbyday
+= data_get(
$value
,'td_hours');
}
}
$cuti
= (
$totalcbyday
+
$totaloverheadbyday
);
// dump(data_get(
$hari
,'DATE').' : '.
$cuti
);
$totalot
+=
$cuti
;
}
if (data_get(
$hari
,'day_type') == 3)
{
{
if (
$chargehour
) {
if (
$chargehour
) {
$valcbyday
=
$chargehour->where
('td_date','=',
$date
)
$valcbyday
=
$chargehour->where
('td_date','=',
$date
)
...
@@ -600,7 +623,6 @@
...
@@ -600,7 +623,6 @@
}
}
}
}
}
}
?>
?>
<th style="
width
:
4
%
;
">
<th style="
width
:
4
%
;
">
...
...
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