<?php

return [
    'name' => 'MedBilling',

    /*
    | Module version — written into the core `system` table as the
    | `medbilling_version` property by the InstallController (LOWERCASE key,
    | matching ModuleUtil::isModuleInstalled which reads strtolower(name).'_version').
    */
    'module_version' => '1.0.0',

    /*
    |--------------------------------------------------------------------------
    | Charge source types
    |--------------------------------------------------------------------------
    | Where a captured charge item originated. `manual` covers ad-hoc lines added
    | on the billing screen.
    */
    'charge_sources' => ['clc_appointment', 'clc_order_item', 'clc_prescription_item', 'manual'],

    /*
    |--------------------------------------------------------------------------
    | ERP sell defaults
    |--------------------------------------------------------------------------
    | Defaults used when billCharges() builds the ERP sell through
    | TransactionUtil. Kept here so a host can tune them without code edits.
    */
    'sell' => [
        // Payment method recorded when a claim's payer share is settled to the ERP.
        'claim_payment_method' => 'other',
    ],
];
