Commit a0d64f28 by Azhan Hannan

changes

parent 15bd9c96
...@@ -176,7 +176,7 @@ ...@@ -176,7 +176,7 @@
} }
} }
?> ?>
<th>{{ $totalcbyday }}</th> <th>{{ number_format($totalcbyday, '1', '.', '') }}</th>
@endfor @endfor
@else @else
@for($i = 15; $i < $daymonth; $i++) @for($i = 15; $i < $daymonth; $i++)
...@@ -192,7 +192,7 @@ ...@@ -192,7 +192,7 @@
} }
} }
?> ?>
<th>{{ $totalcbyday }}</th> <th>{{ number_format($totalcbyday, '1', '.', '') }}</th>
@endfor @endfor
@endif @endif
...@@ -441,7 +441,7 @@ ...@@ -441,7 +441,7 @@
$ac = $totalcbyday + $totaloverheadbyday; $ac = $totalcbyday + $totaloverheadbyday;
?> ?>
<td style="width: 4%;">{{ $ac }}</td> <td style="width: 4%;">{{ number_format($ac, '1', '.', '') }}</td>
@endfor @endfor
@else @else
@for($i = 15; $i < $daymonth; $i++) @for($i = 15; $i < $daymonth; $i++)
...@@ -472,7 +472,7 @@ ...@@ -472,7 +472,7 @@
$ac = $totalcbyday + $totaloverheadbyday; $ac = $totalcbyday + $totaloverheadbyday;
?> ?>
<td style="width: 4%;">{{ $ac }}</td> <td style="width: 4%;">{{ number_format($ac, '1', '.', '') }}</td>
@endfor @endfor
@endif @endif
<td> @if($check) {{ number_format(($totalchargehrs + $totaloverheadhrs), 1, '.', '') }} @else 0 @endif </td> <td> @if($check) {{ number_format(($totalchargehrs + $totaloverheadhrs), 1, '.', '') }} @else 0 @endif </td>
...@@ -515,9 +515,9 @@ ...@@ -515,9 +515,9 @@
?> ?>
<td style="width: 4%;"> <td style="width: 4%;">
@if($ot > 0) @if($ot > 0)
{{ $ot }} {{ number_format($ot, '1', '.', '') }}
@else @else
({{ abs($ot) }}) ({{ number_format(abs($ot), '1', '.', '') }})
@endif @endif
</td> </td>
@endfor @endfor
...@@ -551,9 +551,9 @@ ...@@ -551,9 +551,9 @@
?> ?>
<td style="width: 4%;"> <td style="width: 4%;">
@if($ot > 0) @if($ot > 0)
{{ $ot }} {{ number_format($ot, '1', '.', '') }}
@else @else
({{ abs($ot) }}) ({{ number_format(abs($ot), '1', '.', '') }})
@endif @endif
</td> </td>
@endfor @endfor
......
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