Commit 362e9954 by Azhan Hannan

changes project report

parent 5c1bd436
......@@ -88,9 +88,9 @@
<th style="width: 10%" class="center aligned" rowspan="2">role</th>
<th style="width: 10%" class="center aligned" rowspan="2">allocation</th>
<th style="width: 10%" class="center aligned" rowspan="2">total accumulate</th>
<th style="width: 10%" class="center aligned" rowspan="2">staff name</th>
<th style="width: 10%" class="center aligned" rowspan="2">balance</th>
<th style="width: 15%" class="center aligned" rowspan="2">staff name</th>
<th style="width: 20%" class="center aligned" colspan="2">Mandays</th>
<th style="width: 15%" class="center aligned" rowspan="2">balance</th>
</tr>
<tr>
<th style="width: 15%" class="center aligned">total hours</th>
......@@ -125,6 +125,13 @@
{{ number_format($accumulatehours, 1, '.', '') }} Hours <br>
{{ number_format($accumulatehours/8, 1, '.', '') }} Days
</td>
<td rowspan="{{count($pteam)+1}}" class="center aligned">
<?php
$balancehours = data_get($role,'pm_hours') - $accumulatehours;
?>
{{ number_format($balancehours, '1', '.', '') }} Hours <br>
{{ number_format($balancehours/8, '1', '.', '') }} Days
</td>
@foreach($pteam as $key => $team)
<tr>
<td>
......@@ -145,13 +152,6 @@
<td class="center aligned">
{{ number_format($currhour/8, '1', '.', '') }} Days
</td>
<td class="center aligned">
<?php
$balancehours = data_get($role,'pm_hours') - $accumulatehours;
?>
{{ number_format($balancehours, '1', '.', '') }} Hours <br>
{{ number_format($balancehours/8, '1', '.', '') }} Days
</td>
</tr>
@endforeach
</tr>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment