Commit 1bf8e272 by Azhan Hannan

Dashboard BoD ->

Expectation : keluar detail staff.
Tukar button view, ke view details. Untuk function accordion.
Function view timesheet, letak dalam column action.
parent d6c3e86c
......@@ -18,7 +18,7 @@
$checkchargeable = $detail->where('tp_project_type',1)->first();
$checkoverhead = $detail->where('tp_project_type',3)->first();
// dd($detail);
// dd($staff);
// dump(count($detail->where('tp_timesheet_sts',4)));
// dump(count($detail));
// dump(count($checkoverhead));
......@@ -40,11 +40,9 @@
@elseif($staff->status == 5) <i class="red attention icon"></i>Dissaproved by BOD
@endif
</th>
<th style="width: 15%" class="text-center">Verified at: {{data_get($staff,'verified')}}
</th>
<th style="width: 15%" class="text-center">Verified at: {{data_get($staff,'verified')}}</th>
<th style="width: 10%" class="text-center">
<button class="center aligned ui blue icon button" onclick="window.location.href='{{ route('timesheet::dashboard.timesheetViewer', [ 'user'=>data_get($staff,'staff_id') ,'phase' => data_get($staff,'phase'), 'month' => data_get($staff,'month'), 'year' => data_get($staff,'year')]) }}';" target='_blank'>View</button>
<button class="center aligned ui blue icon button single line">View Details</button>
</th>
</tr>
</thead>
......@@ -93,6 +91,7 @@
@else
<button class="center aligned ui green icon button disabled">Approval</button>
@endif
<button class="center aligned ui blue icon button" onclick="window.location.href='{{ route('timesheet::dashboard.timesheetViewer', [ 'user'=>data_get($staff,'staffid') ,'phase' => data_get($staff,'phase'), 'month' => data_get($staff,'month'), 'year' => data_get($staff,'year')]) }}';" target='_blank'>View</button>
</td>
</tr>
@endif
......@@ -139,6 +138,7 @@
@else
<button class="center aligned ui green icon button disabled">Approval</button>
@endif
<button class="center aligned ui blue icon button" onclick="window.location.href='{{ route('timesheet::dashboard.timesheetViewer', [ 'user'=>data_get($staff,'staffid') ,'phase' => data_get($staff,'phase'), 'month' => data_get($staff,'month'), 'year' => data_get($staff,'year')]) }}';" target='_blank'>View</button>
</td>
</tr>
@endif
......
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