Commit e5d26e5a by hannan

changes in timesheet viewer

parent 61bc6f97
......@@ -160,6 +160,7 @@
@else
<td></td>
@endif
@endfor
@endif
......@@ -174,8 +175,8 @@
</tbody>
<tfoot>
<th colspan="@if($phase == 1) 18 @else {{$daymonth-18}} @endif">Total</th>
<th>{{ $totalchargehrs }}</th>
<th colspan="@if($phase == 1) 18 @else {{$daymonth-12}} @endif">Total</th>
<th>@if($totalchargehrs){{ $totalchargehrs }}@else 0 @endif</th>
</tfoot>
</table>
</div>
......@@ -208,7 +209,7 @@
</tr>
</tbody>
<tfoot>
<th colspan="@if($phase == 1) 17 @else {{$daymonth-17}} @endif">Total</th>
<th colspan="@if($phase == 1) 17 @else {{$daymonth-13}} @endif">Total</th>
<th>20</th>
</tfoot>
</table>
......@@ -272,7 +273,7 @@
@endfor
@else
@for($i = 0; $i < 15 ; $i++)
@for($i = 15; $i < $daymonth ; $i++)
<?php
$valoverheadhour = '';
......@@ -308,8 +309,8 @@
@endforeach
</tbody>
<tfoot>
<th colspan="@if($phase == 1) 17 @else {{$daymonth-17}} @endif">Total</th>
<th>{{ $totaloverheadhrs }}</th>
<th colspan="@if($phase == 1) 17 @else {{$daymonth-13}} @endif">Total</th>
<th>@if($totaloverheadhrs) {{ $totaloverheadhrs }} @else 0 @endif</th>
</tfoot>
</table>
</div>
......
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