Add hero sections to Patients, Appointments, Queue, and admin index pages.
Deploy Ladill Care / deploy (push) Successful in 37s

Introduce shared x-care.page-hero with summary stats so key list views
match the Ladill app hero pattern used across Frontdesk and Link.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
isaacclad
2026-07-05 22:57:54 +00:00
co-authored by Cursor
parent 527244948c
commit 0b6cad75a6
15 changed files with 512 additions and 304 deletions
@@ -27,10 +27,19 @@ class MemberController extends Controller
->orderBy('created_at')
->get();
$clinicalRoles = ['doctor', 'nurse', 'lab_technician', 'pharmacist'];
$heroStats = [
'total' => $members->count(),
'clinical' => $members->whereIn('role', $clinicalRoles)->count(),
'branches' => $members->whereNotNull('branch_id')->pluck('branch_id')->unique()->count(),
];
return view('care.admin.members.index', [
'members' => $members,
'organization' => $organization,
'roles' => config('care.roles'),
'heroStats' => $heroStats,
]);
}