Commit 89e23514 by Azhan Hannan

changes sat before guna l attendance

parent 9fbc6935
......@@ -201,6 +201,8 @@ class FormController extends Controller
$lat = LAttendance::where('staff_id', $userId)
->whereIn('DATE', $dt)
->get();
$lat = [];
// dd($lat);
// dd(date('w', strtotime(data_get($lat1,'DATE'))));
// dd(date_parse_from_format('Y-m-d', data_get($lat1,'DATE'))['day']);
......@@ -862,6 +864,8 @@ class FormController extends Controller
$lat = LAttendance::where('staff_id', $userId)
->whereIn('DATE', $dt)
->get();
$lat = [];
// dd($lat);
return view('timesheet::form.overheadForm', compact('checkoverhead','projectlist','userId','month','phase','daymonth','year', 'hour', 'project', 'fk_tm_id', 'strdays', 'lat'));
......
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