Give each specialty module a distinct Heroicon-style icon.
Deploy Ladill Care / deploy (push) Successful in 1m2s
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user