Fix nurse onboarding redirects and specialty Documents 404s.
Deploy Ladill Care / deploy (push) Successful in 36s

Resolve staff memberships by invite/demo email as well as public_id so nurses stay on their employer org; block staff from owner onboarding; keep Documents viewable with module access while upload stays manage-gated.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
isaacclad
2026-07-18 19:09:06 +00:00
co-authored by Cursor
parent 656f402e8f
commit c3219a1bf1
7 changed files with 524 additions and 14 deletions
@@ -88,7 +88,7 @@
<h3 class="text-sm font-semibold text-slate-900">Documents</h3>
<p class="mt-1 text-xs text-slate-500">Specialty documents attach to the patient chart for this episode.</p>
@if ($canManageClinical ?? $canManageSpecialty ?? true)
@if ($canManageClinical ?? $canManageSpecialty ?? false)
<form method="POST" action="{{ route('care.specialty.documents.upload', ['module' => $moduleKey, 'visit' => $workspaceVisit]) }}" enctype="multipart/form-data" class="mt-4 space-y-3">
@csrf
<input type="file" name="attachment" required accept=".pdf,.jpg,.jpeg,.png,.webp" class="block w-full text-sm">