Commit 24eec99e by fezrul

update typo

parent 82347ee0
...@@ -99,7 +99,7 @@ public function index() ...@@ -99,7 +99,7 @@ public function index()
} else { } else {
// Non-admin → only their assigned projects // Non-admin → only their assigned projects
$projects = Project::whereHas('projectTeam', function($q) use ($user) { $projects = Project::whereHas('projectTeam', function($q) use ($user) {
$q->where('pt_staff_id', $user->employee_code); $q->where('pt_staff_id', $user->employeeCode);
})->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