Commit e6b0bc9c by Azhan Hannan

sorting filter viewer

parent b048bf77
......@@ -426,8 +426,8 @@ class DashboardController extends Controller
$timesheets = Ts_master::where('tm_staff_id', data_get($user,'staff_id'))
->where('tm_timesheet_master_sts','<>',1)
->orderby('tm_year','desc')
->orderby('tm_month','desc')
->orderby('tm_phase','desc')
->orderby('tm_year','desc')
->get();
return view('timesheet::dashboard.filterViewer', compact('month', 'curryear', 'currmonth', 'timesheets'));
......
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