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
5d7b5d76
Commit
5d7b5d76
authored
Dec 27, 2022
by
Azhan Hannan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Log Pia #188 : Expectation: If mandays tak update lagi , paparkan ‘’Balance’’
0 Hours 0 Days
parent
3c665522
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
5 deletions
+19
-5
packages/portal/timesheet/resources/views/report/project.blade.php
+19
-5
No files found.
packages/portal/timesheet/resources/views/report/project.blade.php
View file @
5d7b5d76
...
@@ -110,8 +110,18 @@
...
@@ -110,8 +110,18 @@
<tr>
<tr>
<td rowspan="
{{
count
(
$pteam
)
+
1
}}
" class="
center
aligned
">
{
{data_get($role,'role.role')}
}
</td>
<td rowspan="
{{
count
(
$pteam
)
+
1
}}
" class="
center
aligned
">
{
{data_get($role,'role.role')}
}
</td>
<td rowspan="
{{
count
(
$pteam
)
+
1
}}
" class="
center
aligned
">
<td rowspan="
{{
count
(
$pteam
)
+
1
}}
" class="
center
aligned
">
{
{data_get($role,'pm_hours')}
}
Hours <br>
<?php
$hannan
= 0; ?>
{
{data_get($role,'pm_days')}
}
Days
<?php
$hannan
= data_get(
$role
,'pm_hours');
if (
$hannan
) {
} else {
$hannan
= 0;
}
?>
{{ number_format(
$hannan
, 1, '.', '') }} Hours<br>
{{ number_format(
$hannan
/8, 1, '.', '') }} Days
</td>
</td>
<td rowspan="
{{
count
(
$pteam
)
+
1
}}
" class="
center
aligned
">
<td rowspan="
{{
count
(
$pteam
)
+
1
}}
" class="
center
aligned
">
<?php
<?php
...
@@ -148,10 +158,14 @@
...
@@ -148,10 +158,14 @@
</td>
</td>
@if(
$count
== 0)
@if(
$count
== 0)
<td rowspan="
{{
count
(
$pteam
)}}
" class="
center
aligned
">
<td rowspan="
{{
count
(
$pteam
)}}
" class="
center
aligned
">
<?php
<?php
$balancehours
= data_get(
$role
,'pm_hours') -
$accumulatehours
;
$balancehours
= 0;
if (
$hannan
== 0) {
} else {
$balancehours
= data_get(
$role
,'pm_hours') -
$accumulatehours
;
}
?>
?>
{{ number_format(
$balancehours
, '1', '.', '') }} Hours
<br>
{{ number_format(
$balancehours
, '1', '.', '') }} Hours<br>
{{ number_format(
$balancehours
/8, '1', '.', '') }} Days
{{ number_format(
$balancehours
/8, '1', '.', '') }} Days
</td>
</td>
@else
@else
...
...
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