Give each specialty module a distinct Heroicon-style icon.
Deploy Ladill Care / deploy (push) Successful in 1m2s

Icon names live on the specialty catalog; SVG paths resolve through a shared map and render in sidebar, dashboard, settings, and the specialty shell.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
isaacclad
2026-07-18 18:30:14 +00:00
co-authored by Cursor
parent 61b901095f
commit 1e00c31b8b
12 changed files with 200 additions and 23 deletions
+8
View File
@@ -46,6 +46,14 @@ if (! function_exists('care_money')) {
}
}
if (! function_exists('care_specialty_icon_path')) {
/** Inline SVG path markup for a specialty module key (Heroicons-style outline). */
function care_specialty_icon_path(string $moduleKey): string
{
return app(\App\Services\Care\SpecialtyModuleService::class)->iconSvgPath($moduleKey);
}
}
if (! function_exists('crm_money')) {
/** @deprecated Use care_money() */
function crm_money(?int $minor, ?string $currency = null): string