Commit e5d26e5a by hannan

changes in timesheet viewer

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