Commit 4f0cc33b by Azhan Hannan

log pia 100 -> Expectation : message ‘ALL TIMESHEET HAS BEEN VERIFIED’…

log pia 100 -> Expectation : message  ‘ALL TIMESHEET HAS BEEN VERIFIED’ dipaparkan setelah semua action telah di di sahkan.
parent c031a81b
......@@ -24,7 +24,8 @@
<div class="ui styled fluid accordion">
<?php
$page = 1; $project = $checksts = 0;
$page = 1;
$project = $checksts = 0;
$pmss = $profile->where('dept', 4);
?>
......@@ -199,7 +200,7 @@
@foreach(data_get($overhead,'notes') as $key => $value)
@if(data_get($value,'td_hours'))
<tr>
<td style="width: 10%" class="center aligned">>{{ date("d-m-Y", strtotime(data_get($value, 'td_date'))) }}</td>
<td style="width: 10%" class="center aligned">{{ date("d-m-Y", strtotime(data_get($value, 'td_date'))) }}</td>
<td style="width: 15%" class="single line">{{data_get($value, 'td_overhead_desc')}}</td>
<td>{{data_get($value, 'td_overhead_note')}}</td>
</tr>
......@@ -407,7 +408,7 @@
@foreach(data_get($overhead,'notes') as $key => $value)
@if(data_get($value,'td_hours'))
<tr>
<td style="width: 10%" class="center aligned">>{{ date("d-m-Y", strtotime(data_get($value, 'td_date'))) }}</td>
<td style="width: 10%" class="center aligned">{{ date("d-m-Y", strtotime(data_get($value, 'td_date'))) }}</td>
<td style="width: 15%" class="single line">{{data_get($value, 'td_overhead_desc')}}</td>
<td>{{data_get($value, 'td_overhead_note')}}</td>
</tr>
......
......@@ -156,13 +156,13 @@ class DashboardController extends Controller
// dd($profile);
$details = Tproject::where('tp_pm', $verifier->u_staffID)
// ->where('tp_timesheet_sts', 2)
// ->whereIn('tp_timesheet_sts', [2,6])
->with('project')
->with('pm')
->get();
$overheads = Tproject::where('tp_project_type', 3)
// ->where('tp_timesheet_sts', 2)
// ->whereIn('tp_timesheet_sts', [2,6])
->where('tp_pm', $verifier->id)
->with('notes')
->get();
......
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