Commit 43cb2d4d by Azhan Hannan

chargeable page - checking and notes for no project added

parent 4b14d2a2
...@@ -150,7 +150,7 @@ input[type=number] { ...@@ -150,7 +150,7 @@ input[type=number] {
$lasttd = count($projectlist); $lasttd = count($projectlist);
// dd($lat); // dd($lat);
?> ?>
@if(count($projectlist) > 0)
@foreach($projectlist as $key => $project) @foreach($projectlist as $key => $project)
<?php $total = 0;?> <?php $total = 0;?>
<tr> <tr>
...@@ -292,6 +292,13 @@ input[type=number] { ...@@ -292,6 +292,13 @@ input[type=number] {
</tr> </tr>
<?php $all += $total; ?> <?php $all += $total; ?>
@endforeach @endforeach
@else
<tr>
<td class="center aligned" colspan="@if($phase == 1){{ 15+3 }}@else {{ ($daymonth-15)+3 }} @endif">
No Project Added
</td>
</tr>
@endif
</tbody> </tbody>
</table> </table>
<?php <?php
......
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