<?php

return [
    /**
     * Optional base URL for public invoice links (share via WhatsApp, etc.).
     * Use your real HTTPS domain or an ngrok/tunnel URL so WhatsApp can show a tappable link.
     * Leave empty to fall back to APP_URL (localhost often is not auto-linked in WhatsApp).
     */
    'public_base_url' => env('INVOICE_PUBLIC_BASE_URL'),

    'number_prefix' => env('INVOICE_NUMBER_PREFIX', 'INV'),
    'estimate_prefix' => env('ESTIMATE_NUMBER_PREFIX', 'EST'),
    'payment_prefix' => env('PAYMENT_NUMBER_PREFIX', 'PAY'),
    'default_currency' => env('INVOICE_DEFAULT_CURRENCY', 'USD'),
    'default_payment_terms' => env('INVOICE_DEFAULT_PAYMENT_TERMS', 30),
    'default_template' => 'general-invoice-3',
];
