Add specialty module and GP service pricing settings.
Deploy Ladill Care / deploy (push) Successful in 51s

Admin dashboard module cards open per-module settings with editable service prices; GP consultation and clinic fees live under Settings → GP pricing (inventory drugs unchanged).

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
isaacclad
2026-07-18 17:19:18 +00:00
co-authored by Cursor
parent ce782382c5
commit 5a1d47b9cc
13 changed files with 631 additions and 19 deletions
+10 -1
View File
@@ -197,10 +197,19 @@
<h2 class="text-sm font-semibold text-slate-900">Specialty modules</h2>
<div class="mt-3 grid gap-3 sm:grid-cols-2 lg:grid-cols-3">
@foreach ($specialtyModules as $item)
<a href="{{ route('care.specialty.show', $item['key']) }}"
@php
$toSettings = $permissions->can($member, 'settings.view');
$href = $toSettings
? route('care.settings.modules.show', $item['key'])
: route('care.specialty.show', $item['key']);
@endphp
<a href="{{ $href }}"
class="rounded-2xl border border-slate-200 bg-white px-4 py-4 transition hover:border-indigo-300 hover:shadow-sm">
<p class="text-sm font-semibold text-slate-900">{{ $item['definition']['nav_label'] ?? $item['definition']['label'] }}</p>
<p class="mt-1 text-xs text-slate-500">{{ $item['definition']['description'] ?? '' }}</p>
@if ($toSettings)
<p class="mt-2 text-[11px] font-medium text-indigo-600">Settings &amp; pricing </p>
@endif
</a>
@endforeach
</div>