<?php

declare(strict_types=1);

return [
    'auto_receipt_on_payment' => (bool) env('FINANCIAL_AUTO_RECEIPT', true),
    'default_commission_percent' => (float) env('FINANCIAL_DEFAULT_COMMISSION_PERCENT', 6),
    'erp_driver' => env('FINANCIAL_ERP_DRIVER', 'null'),
    'erp' => [
        'omie' => [
            'enabled' => (bool) env('OMIE_ENABLED', false),
            'app_key' => env('OMIE_APP_KEY'),
            'app_secret' => env('OMIE_APP_SECRET'),
        ],
    ],
];
