| Server IP : 35.80.110.71 / Your IP : 216.73.216.221 Web Server : Apache/2.4.58 (Ubuntu) System : Linux ip-172-31-21-44 6.17.0-1019-aws #19~24.04.1-Ubuntu SMP Tue Jun 23 18:53:06 UTC 2026 x86_64 User : ubuntu ( 1000) PHP Version : 8.3.31 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /var/www/client-portal-laravel/releases/20260626120707/config/ |
Upload File : |
<?php
declare(strict_types=1);
return [
/*
|--------------------------------------------------------------------------
| Dashboard Configuration
|--------------------------------------------------------------------------
|
| Settings for admin and client portal dashboards.
|
*/
/*
|--------------------------------------------------------------------------
| Admin Dashboard Widgets
|--------------------------------------------------------------------------
*/
'admin' => [
'widgets' => [
'quick_stats' => [
'title' => 'Quick Stats',
'component' => 'admin.widgets.quick-stats',
'default_size' => 'large',
'default_position' => 0,
'refreshable' => true,
'cache_ttl' => 300,
],
'revenue_chart' => [
'title' => 'Revenue Overview',
'component' => 'admin.widgets.revenue-chart',
'default_size' => 'large',
'default_position' => 1,
'refreshable' => true,
'cache_ttl' => 3600,
],
'project_status' => [
'title' => 'Project Status',
'component' => 'admin.widgets.project-status',
'default_size' => 'medium',
'default_position' => 2,
'refreshable' => true,
'cache_ttl' => 600,
],
'recent_invoices' => [
'title' => 'Recent Invoices',
'component' => 'admin.widgets.recent-invoices',
'default_size' => 'medium',
'default_position' => 3,
'refreshable' => true,
'cache_ttl' => 300,
],
'activity_feed' => [
'title' => 'Recent Activity',
'component' => 'admin.widgets.activity-feed',
'default_size' => 'medium',
'default_position' => 4,
'refreshable' => true,
'cache_ttl' => 60,
],
'upcoming_deadlines' => [
'title' => 'Upcoming Deadlines',
'component' => 'admin.widgets.upcoming-deadlines',
'default_size' => 'medium',
'default_position' => 5,
'refreshable' => true,
'cache_ttl' => 1800,
],
'client_overview' => [
'title' => 'Client Overview',
'component' => 'admin.widgets.client-overview',
'default_size' => 'small',
'default_position' => 6,
'refreshable' => true,
'cache_ttl' => 600,
],
'pending_approvals' => [
'title' => 'Pending Approvals',
'component' => 'admin.widgets.pending-approvals',
'default_size' => 'small',
'default_position' => 7,
'refreshable' => true,
'cache_ttl' => 300,
],
],
'sizes' => [
'small' => ['cols' => 1, 'rows' => 1],
'medium' => ['cols' => 1, 'rows' => 2],
'large' => ['cols' => 2, 'rows' => 2],
],
'default_layout' => ['quick_stats', 'revenue_chart', 'project_status', 'recent_invoices', 'activity_feed'],
],
/*
|--------------------------------------------------------------------------
| Client Portal Widgets
|--------------------------------------------------------------------------
*/
'portal' => [
'widgets' => [
'stats' => [
'name' => 'Quick Stats',
'description' => 'Active projects, pending invoices, and file counts',
'component' => 'portal.widgets.stats',
'default_enabled' => true,
'default_position' => 0,
'colspan' => 'full',
],
'projects' => [
'name' => 'Active Projects',
'description' => 'Your current active projects',
'component' => 'portal.widgets.projects',
'default_enabled' => true,
'default_position' => 1,
'colspan' => 'half',
],
'invoices' => [
'name' => 'Outstanding Invoices',
'description' => 'Invoices awaiting payment',
'component' => 'portal.widgets.invoices',
'default_enabled' => true,
'default_position' => 2,
'colspan' => 'half',
],
'files' => [
'name' => 'Recent Files',
'description' => 'Recently shared files',
'component' => 'portal.widgets.files',
'default_enabled' => true,
'default_position' => 3,
'colspan' => 'half',
],
'notifications' => [
'name' => 'Notifications',
'description' => 'Your recent notifications',
'component' => 'portal.widgets.notifications',
'default_enabled' => true,
'default_position' => 4,
'colspan' => 'half',
],
'deadlines' => [
'name' => 'Upcoming Deadlines',
'description' => 'Project milestones and due dates',
'component' => 'portal.widgets.deadlines',
'default_enabled' => false,
'default_position' => 5,
'colspan' => 'half',
],
'activity' => [
'name' => 'Recent Activity',
'description' => 'Recent activity on your account',
'component' => 'portal.widgets.activity',
'default_enabled' => false,
'default_position' => 6,
'colspan' => 'half',
],
],
'layouts' => [
'default' => [
'columns' => 2,
'gap' => 6,
],
'compact' => [
'columns' => 1,
'gap' => 4,
],
'wide' => [
'columns' => 3,
'gap' => 6,
],
],
'themes' => [
'light' => [
'name' => 'Light',
'class' => '',
],
'dark' => [
'name' => 'Dark',
'class' => 'dark',
],
'system' => [
'name' => 'System',
'class' => 'system',
],
],
],
/*
|--------------------------------------------------------------------------
| Caching Settings
|--------------------------------------------------------------------------
*/
'cache' => [
'ttl' => 300, // 5 minutes
'prefix' => 'dashboard:',
],
/*
|--------------------------------------------------------------------------
| Mobile Settings
|--------------------------------------------------------------------------
*/
'mobile' => [
'bottom_nav' => true,
'swipe_gestures' => true,
'pull_to_refresh' => true,
],
];