<?php

return [

    /*
    |--------------------------------------------------------------------------
    | Training Upload Paths
    |--------------------------------------------------------------------------
    |
    | Paths used for storing training-related file uploads and generated
    | certificates. These are relative to the storage root.
    |
    */

    'upload_path' => env('TRAINING_UPLOAD_PATH', 'app/public/training'),

    'certificate_path' => env('TRAINING_CERTIFICATE_PATH', 'app/public/certificates/training'),

    /*
    |--------------------------------------------------------------------------
    | Default Currency
    |--------------------------------------------------------------------------
    */

    'default_currency' => env('TRAINING_DEFAULT_CURRENCY', 'USD'),

    /*
    |--------------------------------------------------------------------------
    | Certificate Settings
    |--------------------------------------------------------------------------
    |
    | Attendance threshold (percentage) a trainee must meet to be eligible
    | for a training certificate.
    |
    */

    'certificate_attendance_threshold' => (int) env('TRAINING_CERTIFICATE_ATTENDANCE_THRESHOLD', 80),

    'certificate_organization_name' => env('CERTIFICATE_ORGANIZATION_NAME', 'South Sudan Health Institutions Association'),

    'certificate_organization_logo' => env('CERTIFICATE_ORGANIZATION_LOGO', ''),

    'certificate_organization_seal' => env('CERTIFICATE_ORGANIZATION_SEAL', ''),

    /*
    |--------------------------------------------------------------------------
    | Certificate Prefix
    |--------------------------------------------------------------------------
    |
    | Prefix used when generating unique certificate reference numbers.
    | Example: SSHIA-CERT-2026-00001
    |
    */

    'certificate_prefix' => env('TRAINING_CERTIFICATE_PREFIX', 'SSHIA-CERT'),

];
