Fix multiple undefined variable errors across pages
- show-documents: add $type, $countDocs, $countMediaFiles, $otherFiles, paginate files - show-team + show: JOIN users to order_members for name/avatar/phone - BonusController: load appraiser and order per bonus row - ProfileController: fix wrong view names (index→profile, show-*→activities/projects/documents) Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -18,21 +18,21 @@ class ProfileController extends Controller
|
||||
|
||||
public function profile()
|
||||
{
|
||||
return view('profile.index');
|
||||
return view('profile.profile');
|
||||
}
|
||||
|
||||
public function showActivities()
|
||||
{
|
||||
return view('profile.show-activities');
|
||||
return view('profile.activities');
|
||||
}
|
||||
|
||||
public function showProjects()
|
||||
{
|
||||
return view('profile.show-projects');
|
||||
return view('profile.projects');
|
||||
}
|
||||
|
||||
public function showDocuments()
|
||||
{
|
||||
return view('profile.show-documents');
|
||||
return view('profile.documents');
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user