<?php

return [
    'groups' => [
        'hr_people' => 'HR — People',
        'hr_attendance' => 'Attendance',
        'hr_leave_shifts' => 'HR — Leave and shifts',
        'hr_recruitment' => 'HR — Recruitment',
        'payroll' => 'Payroll',
        'inventory' => 'Inventory',
        'procurement' => 'Procurement',
        'sales' => 'Sales',
        'localization' => 'Localization and geography',
        'customization_reports' => 'Customization and reports',
        'administration' => 'Administration',
        'operations' => 'Operations control',
        'other' => 'Other permissions',
    ],
    'abilities' => [
        'branches' => ['view' => 'View branches', 'create' => 'Create branches', 'update' => 'Update branches', 'deactivate' => 'Deactivate branches'],
        'sections' => ['view' => 'View sections', 'create' => 'Create sections', 'update' => 'Update sections', 'deactivate' => 'Deactivate sections'],
        'teams' => ['view' => 'View teams', 'create' => 'Create teams', 'update' => 'Update teams', 'deactivate' => 'Deactivate teams'],
        'job_grades' => ['view' => 'View job grades', 'create' => 'Create job grades', 'update' => 'Update job grades', 'deactivate' => 'Deactivate job grades'],
        'work_locations' => ['view' => 'View work locations', 'create' => 'Create work locations', 'update' => 'Update work locations', 'deactivate' => 'Deactivate work locations'],
        'cost_centers' => ['view' => 'View cost centers', 'create' => 'Create cost centers', 'update' => 'Update cost centers', 'deactivate' => 'Deactivate cost centers'],
        'attendance' => [
            'view' => 'View attendance records',
            'create' => 'Register check-in / manual attendance',
            'checkout' => [
                'register' => 'Register check-out',
                'update' => 'Edit check-out time',
            ],
            'import' => 'Import biometric logs',
            'manage' => 'Manage attendance (exceptions, devices)',
            'corrections' => [
                'review' => 'Review attendance corrections',
            ],
        ],
        'recruitment' => [
            'view' => 'View recruitment',
            'create' => 'Create recruitment records',
            'manage' => 'Manage recruitment workflows',
            'hire' => 'Convert offers to hires',
            'reports' => [
                'view' => 'View recruitment reports',
            ],
        ],
    ],
    'matrix' => [
        'open' => 'Open matrix',
        'close' => 'Close',
        'select_all' => 'Select all in group',
        'select_all_visible' => 'Select all visible',
        'clear_all' => 'Clear group',
        'select_module' => 'Select module',
        'search' => 'Search permissions',
        'search_placeholder' => 'Search by name or permission code',
        'expand_all' => 'Expand all',
        'collapse_all' => 'Collapse all',
    ],
];
