Commit 33d690de authored by Mahmoud Aglan's avatar Mahmoud Aglan

Fix: settings/system now shows all settings including platform fee toggle

The SystemSettingsForm only displayed settings already in the DB, so
platform_fee_customer_pays was invisible. Switched the route to use the
schema-driven Admin\SystemSettings component which always renders all
defined settings with their defaults.
Co-Authored-By: 's avatarClaude Opus 4.6 <noreply@anthropic.com>
parent e5eb319c
...@@ -390,7 +390,7 @@ ...@@ -390,7 +390,7 @@
->middleware('permission:evaluations.update'); ->middleware('permission:evaluations.update');
// System Settings // System Settings
Route::get('/settings/system', SystemSettingsForm::class)->name('settings.system') Route::get('/settings/system', \App\Livewire\Admin\SystemSettings::class)->name('settings.system')
->middleware('permission:settings.manage'); ->middleware('permission:settings.manage');
Route::get('/settings/branding', \App\Livewire\Settings\BrandingSettings::class)->name('settings.branding') Route::get('/settings/branding', \App\Livewire\Settings\BrandingSettings::class)->name('settings.branding')
->middleware('permission:settings.manage'); ->middleware('permission:settings.manage');
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment