<?php

return [
    'title' => 'Salary structures',
    'singular' => 'Salary structure',
    'subtitle' => 'Define reusable pay structures and their earning, deduction, and employer contribution components.',
    'create_title' => 'Create salary structure',
    'edit_title' => 'Edit salary structure',
    'empty' => 'No salary structures yet.',
    'empty_components' => 'No components added yet. Use "Add component" to define earnings, deductions, or employer contributions.',
    'components_hint' => 'Fixed components add a flat amount. Percentage components are applied during payroll calculation.',
    'components_count' => ':count component(s)',
    'fields' => [
        'code' => 'Code',
        'name' => 'Name',
        'description' => 'Description',
        'currency' => 'Currency',
        'status' => 'Status',
        'components' => 'Components',
        'component_code' => 'Code',
        'component_name' => 'Name',
        'component_type' => 'Type',
        'calculation' => 'Calculation',
        'amount' => 'Amount',
        'is_taxable' => 'Taxable',
        'sort_order' => 'Order',
    ],
    'status' => [
        'active' => 'Active',
        'inactive' => 'Inactive',
    ],
    'component_types' => [
        'earning' => 'Earning',
        'deduction' => 'Deduction',
        'employer_contribution' => 'Employer contribution',
    ],
    'calculations' => [
        'fixed' => 'Fixed amount',
        'percentage' => 'Percentage',
    ],
    'actions' => [
        'add' => 'Add structure',
        'save' => 'Save',
        'update' => 'Update',
        'add_component' => 'Add component',
        'remove_component' => 'Remove component',
    ],
    'flash' => [
        'created' => 'Salary structure created.',
        'updated' => 'Salary structure updated.',
        'deactivated' => 'Salary structure deactivated.',
    ],
];
