<?php

return [
    /*
    |--------------------------------------------------------------------------
    | Finance Panel Configuration
    |--------------------------------------------------------------------------
    |
    | Configuration for the Finance Panel system
    |
    */

    // Day start time in Turkey timezone (6:00 AM)
    'day_start_hour' => 6,

    // Default currency
    'default_currency' => 'TRY',

    // Transaction statuses
    'transaction_statuses' => [
        'pending' => 'Pending',
        'approved' => 'Approved',
        'declined' => 'Declined',
        'completed' => 'Completed',
        'failed' => 'Failed',
    ],

    // Transaction types
    'transaction_types' => [
        'deposit' => 'Deposit',
        'withdrawal' => 'Withdrawal',
    ],

    // API Configuration
    'api' => [
        'sid' => env('API_SID', ''),
        'key' => env('API_KEY', ''),
        'secret_key' => env('API_SECRET_KEY', ''),
        'whitelist_ip' => env('API_WHITELIST_IP', '95.216.1.207'),
        'callback_url' => env('API_CALLBACK_URL', ''),
    ],

    // Pagination
    'pagination' => [
        'per_page' => 25,
        'per_page_options' => [10, 25, 50, 100],
    ],

    // Logging
    'logging' => [
        'enabled' => true,
        'log_api_requests' => true,
        'log_activity' => true,
    ],

    // User permissions modules
    'permission_modules' => [
        'dashboard',
        'deposits',
        'withdrawals',
        'users',
        'permissions',
        'finance_groups',
        'bank_accounts',
        'finance_users',
        'settings',
        'reports',
    ],

    // Permission actions
    'permission_actions' => [
        'read',
        'create',
        'update',
        'delete',
        'approve',
        'decline',
        'export',
    ],
];
