<?php

return [
    /** Hourly OT rate = monthly_salary / (days_per_month * hours_per_day) when not overridden. */
    'overtime_days_per_month' => (float) env('PAYROLL_OT_DAYS_PER_MONTH', 30),
    'overtime_hours_per_day' => (float) env('PAYROLL_OT_HOURS_PER_DAY', 8),
    /** Multiplier applied to the derived hourly rate for overtime pay. */
    'overtime_rate_multiplier' => (float) env('PAYROLL_OT_RATE_MULTIPLIER', 1.5),
    /** When true, snapshot generation upserts an overtime adjustment from OT minutes. */
    'auto_overtime_adjustment' => (bool) env('PAYROLL_AUTO_OT_ADJUSTMENT', true),
];
