NASER develope task section

This commit is contained in:
mobinesaghi
2026-04-23 14:55:07 +03:30
parent 2bcf9f1b7e
commit b348e476f1
3 changed files with 180 additions and 208 deletions
@@ -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,