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:
2026-04-06 15:11:24 +05:00
parent c363c76f31
commit ecaf8790dc
4 changed files with 52 additions and 15 deletions

View File

@@ -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');
}
}