Currency dropdown + logo on login/topbar via brandLogo closure

- Onboarding + Settings: Forms\Components\Select for currency
  (MDL/EUR/USD/RON/UAH/RUB) instead of TextInput
- TenantPanel: brandName/brandLogo/favicon as closures resolving from
  tenant. Logo now visible on login page, topbar, sidebar (Filament
  v5 brandLogo handles all 3 spots automatically)
- Favicon falls back to logo if favicon not separately uploaded
- Removed manual SIDEBAR_LOGO_BEFORE injection (replaced by brandLogo)
- Removed manual <link rel=icon> in HEAD_END (replaced by ->favicon)
This commit is contained in:
2026-05-08 07:50:12 +00:00
parent 93a69dd826
commit 8f324b7b8e
3 changed files with 33 additions and 23 deletions
+12 -1
View File
@@ -76,7 +76,18 @@ class Settings extends Page
->label('Limbă default')
->options(['ro' => 'Română', 'ru' => 'Русский', 'en' => 'English'])
->required(),
Forms\Components\TextInput::make('currency')->label('Monedă')->maxLength(8)->required(),
Forms\Components\Select::make('currency')
->label('Monedă')
->options([
'MDL' => 'MDL — Leu moldovenesc',
'EUR' => 'EUR — Euro',
'USD' => 'USD — US Dollar',
'RON' => 'RON — Leu românesc',
'UAH' => 'UAH — Hryvnia',
'RUB' => 'RUB — Rublă',
])
->required()
->searchable(),
Forms\Components\ColorPicker::make('theme_color')->label('Culoare brand'),
]),
Schemas\Components\Section::make('Servicii & tarif')