Commit d04f1c6d by Azhan Hannan

changes

parent 19511ea7
......@@ -192,6 +192,7 @@
<br>
<div class="ui styled fluid accordion">
<?php $page = 1; ?>
@if(count($profile) > 0)
@foreach($profile as $key => $staff)
@if(data_get($staff,'status') == 2 || data_get($staff,'status') == 3 || data_get($staff,'status') == 6 )
<?php
......@@ -363,8 +364,7 @@
@endif
@endforeach
@if(count($details) == 0)
@else
<table class="ui unstackable celled table">
<thead>
<tr>
......
......@@ -155,7 +155,7 @@ class DashboardController extends Controller
->with('attachement')
->get();
return view('timesheet::dashboard.dashboardbod', compact('approval', 'profiles', 'detailsverification', 'checktd', 'profile', 'details', 'checkts'));
return view('timesheet::dashboard.dashboardbod', compact('approval', 'profiles', 'detailsverification', 'checktd', 'profile', 'checkts', 'details'));
}
if ( $roleid == '8') {
......
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