@php $menu = [ 'profile' => ['Profile Settings', 'profile'], 'website' => ['Website Settings', 'services'], 'brand' => ['Brand Settings', 'palette'], 'payment' => ['Payment Settings', 'payments'], 'roles' => ['User Role Settings', 'clients'], 'notifications' => ['Notification Settings', 'bell'], 'security' => ['Security Settings', 'lock'], 'system' => ['System Settings', 'settings'], 'modules' => ['Module Control', 'panel'], 'backup' => ['Backup & Export', 'downloads'], ]; @endphp

Settings

Manage your agency system preferences and configurations.

Dashboard / Settings
@switch($active) @case('profile')
@csrf

Profile Settings

Change Password
@break @case('website')
@csrf

Website Settings

@foreach (['website_name' => 'Website Name', 'agency_name' => 'Agency Name', 'tagline' => 'Tagline', 'contact_number' => 'Contact Number', 'whatsapp_number' => 'WhatsApp Number', 'email' => 'Email Address'] as $field => $label)
@endforeach
@foreach (['facebook' => 'Facebook Link', 'instagram' => 'Instagram Link', 'tiktok' => 'TikTok Link', 'youtube' => 'YouTube Link'] as $field => $label)
@endforeach
@break @case('brand')
@csrf

Brand Settings

Theme and font choices apply global CSS variables after save.

@foreach (['primary_color' => 'Primary Color', 'secondary_color' => 'Secondary Color', 'background_color' => 'Background Color', 'text_color' => 'Text Color'] as $field => $label)
@endforeach
Dashboard Theme Preview
@break @case('payment')

Payment Settings

Add New Method
@csrf @include('admin.settings.payment-fields', ['method' => new \App\Models\PaymentMethod(['status' => 'active'])])
@forelse ($methods as $method)
@csrf {{ $method->name }} @include('admin.settings.payment-fields', ['method' => $method])
@empty
Add JazzCash, EasyPaisa, Meezan Bank, or Bank Transfer.
@endforelse
@break @case('roles')
@csrf

User Role Settings

@foreach (array_keys($roles) as $role) @endforeach
Super AdminFull system control and settings authority.
AdminAgency operations, clients, payments, and reporting.
DesignerAssigned work, uploads, revisions, and delivery flow.
ClientRequests, payments, downloads, and account access.
GTS ClientWallet funds, SMM services, orders, and tracking.
@foreach ($roles as $label) @endforeach @foreach ($permissionGroups as $group => $permissions) @foreach ($permissions as $permission) @foreach ($roles as $role => $roleLabel) @endforeach @endforeach @endforeach
Permission Group{{ $label }}
{{ $group }}
{{ $permissionLabels[$permission] }}{{ str($permission)->replace('_', ' ')->ucfirst() }}
@break @case('notifications')
@csrf

Notification Settings

@foreach ($notificationLabels as $type => $label) @php($setting = $notificationSettings[$type]) @foreach (['dashboard', 'email', 'whatsapp'] as $channel) @endforeach @endforeach
Notification TypeDashboardEmailWhatsAppReminder
{{ $label }}
@break @case('security')
@csrf

Security Settings

Login History

@forelse ($securityLogs as $log) @empty @endforelse
TimeDevice / IPStatus
{{ $log->login_time?->format('M j, g:i A') }}{{ str($log->device)->limit(36) }}
{{ $log->ip_address }}
{{ $log->status }}
No login history yet.
@csrf

Active Sessions

@forelse ($activeSessions as $session) @empty @endforelse
IP AddressLast Activity
{{ $session->ip_address ?: 'Local session' }}{{ \Carbon\Carbon::createFromTimestamp($session->last_activity)->diffForHumans() }}
Session tracking appears after sign in.

Failed Login Attempts

@forelse ($failedAttempts as $attempt) @empty @endforelse
TimeIP / Device
{{ $attempt->login_time?->format('M j, g:i A') }}{{ $attempt->ip_address ?: 'Unknown IP' }}
{{ str($attempt->device)->limit(42) }}
No failed logins recorded.
@break @case('system')
@csrf

System Settings

@foreach (['auto_assign_designer' => 'Auto Assign Designer', 'auto_approve_payment' => 'Auto Approve Payment', 'maintenance_mode' => 'Maintenance Mode'] as $field => $label)
@endforeach
@break @case('modules')
@csrf

Module Control

Turn major website and portal modules on or off. Disabled modules are blocked in backend routes too.

@foreach ($moduleControls as $group => $controls)
{{ $group }}{{ $group === 'GTS Selling Flow' ? 'Deposit and order features for Ghaffar Trusted Seller clients.' : 'Control access and visibility for this module group.' }}
@foreach ($controls as $key => [$label, $description, $default]) @endforeach
@endforeach
@break @default

Backup & Export Settings

@foreach (['clients' => 'Export Clients CSV', 'payments' => 'Export Payments CSV', 'tasks' => 'Export Tasks CSV', 'reports' => 'Export Reports PDF', 'backup' => 'Download Full Backup'] as $type => $label) {{ $label }} @endforeach
@csrf

Backup History

@forelse ($exports as $export) @empty @endforelse
FileTypeDateAction
{{ $export->file_name }}{{ str($export->file_type)->headline() }}{{ $export->created_at->format('M j, Y') }}Download
Exports appear here after download.
@endswitch