Hide specialty department roster from the module overview.
Deploy Ladill Care / deploy (push) Failing after 1m4s

Departments still provision in the background; the list added no operational value on the page.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
isaacclad
2026-07-18 11:24:44 +00:00
co-authored by Cursor
parent 03befd1e7f
commit dee9a0f2df
3 changed files with 1 additions and 17 deletions
@@ -387,7 +387,6 @@ class SpecialtyModuleController extends Controller
'definition' => $shellDefinition,
'section' => $section,
'navItems' => $shell->navItems($module),
'departments' => $departments,
'waiting' => $waiting,
'openVisits' => $openVisits,
'visitHistory' => $visitHistory,
@@ -29,21 +29,7 @@
@endif
<div class="grid gap-4 lg:grid-cols-2">
<section class="rounded-2xl border border-slate-200 bg-white p-5">
<h2 class="text-sm font-semibold text-slate-900">Departments</h2>
<ul class="mt-3 space-y-2">
@forelse ($departments as $department)
<li class="flex items-center justify-between rounded-xl border border-slate-100 bg-slate-50 px-3 py-2 text-sm">
<span class="font-medium text-slate-800">{{ $department->name }}</span>
<span class="text-xs text-slate-500">{{ $department->branch?->name }}</span>
</li>
@empty
<li class="text-sm text-slate-500">No active departments for this module at your branch.</li>
@endforelse
</ul>
</section>
<section class="rounded-2xl border border-slate-200 bg-white p-5">
<section class="rounded-2xl border border-slate-200 bg-white p-5 lg:col-span-2">
<div class="flex items-center justify-between gap-3">
<h2 class="text-sm font-semibold text-slate-900">Waiting patients</h2>
<a href="{{ route('care.specialty.visits', $moduleKey) }}" class="text-xs font-medium text-indigo-600">All visits</a>
@@ -220,7 +220,6 @@ class CareSpecialtyModulesTest extends TestCase
->get(route('care.specialty.show', 'dentistry'))
->assertOk()
->assertSee('Dentistry')
->assertSee('Departments')
->assertSee('Overview')
->assertSee('Stage map');
}