Commit b0c2b7fb by Azhan Hannan

log pia #175 -> en amar tak dapat timesheet idayu bila resubmit

parent 991a4b61
...@@ -297,7 +297,7 @@ ...@@ -297,7 +297,7 @@
<div class="ui styled fluid accordion"> <div class="ui styled fluid accordion">
<?php $page = 1; ?> <?php $page = 1; ?>
@foreach($profile as $key => $staff) @foreach($profile as $key => $staff)
@if(data_get($staff,'status') == 2 || data_get($staff,'status') == 3 || data_get($staff,'status') == 6 ) @if(data_get($staff,'status') == 2 || data_get($staff,'status') == 3 || data_get($staff,'status') == 5 || data_get($staff,'status') == 6 )
<?php <?php
$detail = $detailsverification->where('staffid', $staff->staff_id)->where('fk_tm_id', $staff->tmid)->where('tp_project_type', 3)->whereIn('tp_timesheet_sts', [2,3,6]); $detail = $detailsverification->where('staffid', $staff->staff_id)->where('fk_tm_id', $staff->tmid)->where('tp_project_type', 3)->whereIn('tp_timesheet_sts', [2,3,6]);
$ts = $checkts->where('tm_staff_id', $staff->staff_id); $ts = $checkts->where('tm_staff_id', $staff->staff_id);
......
...@@ -139,7 +139,7 @@ class DashboardController extends Controller ...@@ -139,7 +139,7 @@ class DashboardController extends Controller
$verifier = Users::find(Auth::id()); $verifier = Users::find(Auth::id());
$profile = VwReviewProfile::where('hod_id', $verifier->id) $profile = VwReviewProfile::where('hod_id', $verifier->id)
->whereIn('status', [2,3,6]) ->whereIn('status', [2,3,5,6])
->with('overheads') ->with('overheads')
->orderby('tm_year', 'desc') ->orderby('tm_year', 'desc')
->orderby('tm_month', 'desc') ->orderby('tm_month', 'desc')
...@@ -152,7 +152,7 @@ class DashboardController extends Controller ...@@ -152,7 +152,7 @@ class DashboardController extends Controller
->with('notes') ->with('notes')
->get(); ->get();
$checkts = Ts_master::whereIn('tm_timesheet_master_sts', [2,3,6]) $checkts = Ts_master::whereIn('tm_timesheet_master_sts', [2,3,5,6])
->with('attachement') ->with('attachement')
->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