<?php

return [
    'ledger_mode' => env('FINANCE_LEDGER_MODE', 'legacy'),
    'carryforward' => [
        'enabled' => env('FINANCE_CARRYFORWARD_ENABLED', true),
        'auto_post_to_new_year' => env('FINANCE_CARRYFORWARD_AUTO_POST', false),
        'block_enrollment_threshold' => env('FINANCE_CARRYFORWARD_BLOCK_ENROLLMENT_THRESHOLD', null),
        'require_admin_review_threshold' => env('FINANCE_CARRYFORWARD_REVIEW_THRESHOLD', 0),
        'allow_installment_plan' => env('FINANCE_CARRYFORWARD_ALLOW_INSTALLMENT_PLAN', true),
    ],
    'payment_allocation' => [
        'default_policy' => env('FINANCE_PAYMENT_ALLOCATION_POLICY', 'oldest_debt_first'),
    ],
    'tuition_calculator_version' => env('FINANCE_TUITION_CALCULATOR_VERSION', 'old'),
];
