Commit e7bd2b48 by Azhan Hannan

fixing timesheet

parent f969e0c7
...@@ -341,7 +341,7 @@ class DashboardController extends Controller ...@@ -341,7 +341,7 @@ class DashboardController extends Controller
// dd($staffs); // dd($staffs);
$timesheet = Ts_master::where('tm_staff_id', $staffid) $timesheet = Ts_master::where('tm_staff_id', $staffid)
->whereIn('tm_timesheet_master_sts', [2,3,4,5,6]) ->whereIn('tm_timesheet_master_sts', [2,3,4,5,6])
->orderby('tm_year') ->orderby('tm_year', 'DESC')
->orderby('tm_month', 'DESC') ->orderby('tm_month', 'DESC')
->orderby('tm_phase', 'DESC') ->orderby('tm_phase', 'DESC')
->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