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:
@@ -64,8 +64,19 @@ class Onboarding extends Page
|
||||
->label('Oraș')->maxLength(60),
|
||||
Forms\Components\TextInput::make('phone')
|
||||
->label('Telefon principal')->tel()->maxLength(40),
|
||||
Forms\Components\TextInput::make('currency')
|
||||
->label('Monedă')->required()->maxLength(8),
|
||||
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ă',
|
||||
])
|
||||
->default('MDL')
|
||||
->required()
|
||||
->searchable(),
|
||||
]),
|
||||
Schemas\Components\Section::make('Pas 2 — Brand & limbă')
|
||||
->visible(fn () => $this->step === 2)
|
||||
|
||||
Reference in New Issue
Block a user