Add hero sections to Visits, Hosts, Employees, Devices, Branches, and Team index pages.
Deploy Ladill Frontdesk / deploy (push) Successful in 1m3s

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
isaacclad
2026-07-05 20:45:30 +00:00
co-authored by Cursor
parent 66299ae166
commit f995606649
13 changed files with 439 additions and 235 deletions
@@ -24,7 +24,13 @@ class BranchController extends Controller
->orderBy('name')
->get();
return view('frontdesk.admin.branches.index', compact('branches', 'organization'));
$heroStats = [
'total' => $branches->count(),
'active' => $branches->where('is_active', true)->count(),
'buildings' => $branches->sum('buildings_count'),
];
return view('frontdesk.admin.branches.index', compact('branches', 'organization', 'heroStats'));
}
public function create(Request $request): View