🆙 Fix migrations to new filament names 🆙

This commit is contained in:
Remco
2026-02-02 20:27:48 +01:00
parent 487203436b
commit 0ca57c9a91
5 changed files with 114 additions and 27 deletions
@@ -0,0 +1,23 @@
<?php
namespace App\Http\Controllers\Community\Teams;
use App\Models\Community\Teams\WebsiteTeam;
use Illuminate\Contracts\View\View;
class TeamsController
{
public function __invoke(): View
{
$employees = WebsiteTeam::query()
->where('hidden_rank', false)
->with(['users' => fn ($q) => $q
->select(['id', 'username', 'look', 'motto', 'team_id'])
->orderBy('username'),
])
->orderBy('rank_name')
->get();
return view('community.teams', compact('employees'));
}
}