NASER develope task section
This commit is contained in:
@@ -97,8 +97,11 @@ class AttendanceController extends Controller
|
||||
// $until_now = Carbon::now()->diffInSeconds(Carbon::parse($break->break_start));
|
||||
|
||||
}
|
||||
|
||||
|
||||
$user->tasks = Tasks::where('created_by', $user->id)
|
||||
->orWhereJsonContains('assignees', (string) $user->id)
|
||||
->orderBy('target_date', 'desc')
|
||||
->get();
|
||||
//dd($user->tasks);
|
||||
// dd($until_now);
|
||||
return view('attendance.index', compact('user'))->with([
|
||||
's' => $s,
|
||||
|
||||
Reference in New Issue
Block a user