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 @@ ...@@ -24,7 +24,8 @@
<div class="ui styled fluid accordion"> <div class="ui styled fluid accordion">
<?php <?php
$page = 1; $project = $checksts = 0; $page = 1;
$project = $checksts = 0;
$pmss = $profile->where('dept', 4); $pmss = $profile->where('dept', 4);
?> ?>
...@@ -199,7 +200,7 @@ ...@@ -199,7 +200,7 @@
@foreach(data_get($overhead,'notes') as $key => $value) @foreach(data_get($overhead,'notes') as $key => $value)
@if(data_get($value,'td_hours')) @if(data_get($value,'td_hours'))
<tr> <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 style="width: 15%" class="single line">{{data_get($value, 'td_overhead_desc')}}</td>
<td>{{data_get($value, 'td_overhead_note')}}</td> <td>{{data_get($value, 'td_overhead_note')}}</td>
</tr> </tr>
...@@ -407,7 +408,7 @@ ...@@ -407,7 +408,7 @@
@foreach(data_get($overhead,'notes') as $key => $value) @foreach(data_get($overhead,'notes') as $key => $value)
@if(data_get($value,'td_hours')) @if(data_get($value,'td_hours'))
<tr> <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 style="width: 15%" class="single line">{{data_get($value, 'td_overhead_desc')}}</td>
<td>{{data_get($value, 'td_overhead_note')}}</td> <td>{{data_get($value, 'td_overhead_note')}}</td>
</tr> </tr>
......
...@@ -156,13 +156,13 @@ class DashboardController extends Controller ...@@ -156,13 +156,13 @@ class DashboardController extends Controller
// dd($profile); // dd($profile);
$details = Tproject::where('tp_pm', $verifier->u_staffID) $details = Tproject::where('tp_pm', $verifier->u_staffID)
// ->where('tp_timesheet_sts', 2) // ->whereIn('tp_timesheet_sts', [2,6])
->with('project') ->with('project')
->with('pm') ->with('pm')
->get(); ->get();
$overheads = Tproject::where('tp_project_type', 3) $overheads = Tproject::where('tp_project_type', 3)
// ->where('tp_timesheet_sts', 2) // ->whereIn('tp_timesheet_sts', [2,6])
->where('tp_pm', $verifier->id) ->where('tp_pm', $verifier->id)
->with('notes') ->with('notes')
->get(); ->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