<?php

return [
    'title' => 'Employees',
    'singular' => 'Employee',
    'subtitle' => 'HR records, hierarchy, addresses, and secure documents.',

    'create_title' => 'Create employee',
    'edit_title' => 'Edit employee',

    'empty' => 'No employees yet. Add your first record to get started.',

    'fields' => [
        'employee_code' => 'Employee code',
        'employee_reference' => 'Employee reference',
        'full_name' => 'Full name',
        'arabic_name' => 'Arabic name',
        'fingerprint_id' => 'Fingerprint ID',
        'phone_1' => 'Primary phone',
        'phone_2' => 'Secondary phone',
        'email' => 'Email',
        'company_email' => 'Company email',
        'department' => 'Department',
        'branch' => 'Branch',
        'section' => 'Section',
        'team' => 'Team',
        'job_grade' => 'Job grade',
        'work_location' => 'Work location',
        'cost_center' => 'Cost center',
        'position' => 'Position',
        'manager' => 'Manager',
        'salary' => 'Salary',
        'salary_structure' => 'Salary structure',
        'payment_method' => 'Payment method',
        'hire_date' => 'Hire date',
        'probation_end_date' => 'Probation end date',
        'confirmation_date' => 'Confirmation date',
        'gender' => 'Gender',
        'date_of_birth' => 'Date of birth',
        'marital_status' => 'Marital status',
        'blood_type' => 'Blood type',
        'religion' => 'Religion',
        'nationality' => 'Nationality',
        'national_id' => 'National ID',
        'passport_number' => 'Passport number',
        'social_insurance_number' => 'Social insurance number',
        'tax_number' => 'Tax number',
        'bank_name' => 'Bank name',
        'bank_account_number' => 'Bank account number',
        'iban' => 'IBAN',
        'swift_code' => 'SWIFT code',
        'employment_status' => 'Employment status',
        'status' => 'Status',
        'address_heading' => 'Address',
        'address_country' => 'Country',
        'address_state' => 'State / region',
        'address_city' => 'City',
        'address_postal_code' => 'Postal code',
        'address_street' => 'Street',
        'address_building_number' => 'Building / unit',
        'address_location_link' => 'Location link',
        'documents_heading' => 'Documents',
        'existing_documents' => 'Uploaded files',
    ],

    'placeholders' => [
        'employee_code' => 'e.g. EMP-001',
        'full_name' => 'Legal name',
        'arabic_name' => 'Name in Arabic',
        'fingerprint_id' => 'Optional biometric reference',
        'phone_1' => 'Primary contact number',
        'phone_2' => 'Optional second number',
        'email' => 'name@company.com',
        'company_email' => 'work@company.com',
        'department' => 'Select department',
        'position' => 'Select position',
        'manager' => 'Select manager (optional)',
        'salary' => '0.00',
        'nationality' => 'Country of citizenship',
        'national_id' => 'Government ID number',
        'employment_status' => 'Select employment status',
        'address_country' => 'Country',
        'address_state' => 'State / region',
        'address_city' => 'City',
        'address_street' => 'Street',
        'address_building_number' => 'Building / unit',
        'address_location_link' => 'Maps link (optional)',
    ],

    'gender' => [
        'male' => 'Male',
        'female' => 'Female',
        'other' => 'Other',
    ],

    'marital' => [
        'single' => 'Single',
        'married' => 'Married',
        'divorced' => 'Divorced',
        'widowed' => 'Widowed',
    ],

    'employment_status' => [
        'full_time' => 'Full time',
        'part_time' => 'Part time',
        'contract' => 'Contract',
        'probation' => 'Probation',
        'terminated' => 'Terminated',
    ],

    'status' => [
        'active' => 'Active',
        'inactive' => 'Inactive',
    ],

    'documents' => [
        'photo' => 'Photo',
        'cv' => 'CV',
        'national_id_front' => 'National ID (front)',
        'national_id_back' => 'National ID (back)',
        'national_id_expires_at' => 'National ID expiry',
        'passport' => 'Passport',
        'passport_expires_at' => 'Passport expiry',
        'contract' => 'Contract',
        'contract_expires_at' => 'Contract expiry',
        'certificate' => 'Certificate',
        'residency' => 'Residency / Iqama',
        'residency_expires_at' => 'Residency expiry',
        'visa' => 'Visa',
        'visa_expires_at' => 'Visa expiry',
        'work_permit' => 'Work permit',
        'nda' => 'NDA',
        'medical_report' => 'Medical report',
        'driving_license' => 'Driving license',
        'insurance' => 'Insurance',
        'work_permit_expires_at' => 'Work permit expiry',
        'category' => 'Category',
        'expires_at' => 'Expires at',
        'status' => 'Status',
        'version' => 'Version',
        'statuses' => ['active' => 'Active', 'expired' => 'Expired', 'replaced' => 'Replaced'],
        'no_expiry' => 'No expiry set',
        'hint' => 'Allowed: PDF, Word, JPG, PNG. Max 10 MB each. Set expiry for government documents when uploading.',
        'download' => 'Download',
    ],

    'tabs' => [
        'overview' => 'Overview',
        'government' => 'Government',
        'bank' => 'Bank',
        'payroll' => 'Payroll',
        'documents' => 'Documents',
        'emergency_contacts' => 'Emergency contacts',
        'skills' => 'Skills',
        'assets' => 'Assets',
        'employment_history' => 'Employment history',
        'activity' => 'Activity',
    ],

    'sections' => [
        'personal' => 'Personal information',
        'contact' => 'Contact information',
        'employment' => 'Employment information',
        'contracts' => 'Employment contracts',
    ],

    'government' => [
        'expiry_hint' => 'Tracked document expiry dates for government IDs and permits.',
        'no_tracked_docs' => 'No expiry-tracked government documents uploaded yet.',
    ],

    'payroll' => [
        'period' => 'Payroll period',
        'base_salary' => 'Base salary',
        'gross' => 'Gross amount',
        'generated_at' => 'Generated at',
    ],

    'emergency_contacts' => [
        'add' => 'Add emergency contact',
        'full_name' => 'Contact name',
        'relationship' => 'Relationship',
        'phone' => 'Phone',
        'phone_alt' => 'Alternate phone',
        'email' => 'Email',
        'address' => 'Address',
        'is_primary' => 'Primary contact',
        'notes' => 'Notes',
        'delete_confirm' => 'Remove this emergency contact?',
    ],

    'skills' => [
        'add' => 'Add skill',
        'name' => 'Skill name',
        'level' => 'Level',
        'years_experience' => 'Years',
        'is_certified' => 'Certified',
        'notes' => 'Notes',
        'delete_confirm' => 'Remove this skill?',
        'levels' => [
            'beginner' => 'Beginner',
            'intermediate' => 'Intermediate',
            'advanced' => 'Advanced',
            'expert' => 'Expert',
        ],
    ],

    'assets' => [
        'add' => 'Assign asset',
        'asset_code' => 'Asset code',
        'asset_name' => 'Asset name',
        'category' => 'Category',
        'assigned_at' => 'Assigned at',
        'returned_at' => 'Returned at',
        'status' => 'Status',
        'notes' => 'Notes',
        'external_asset_id' => 'External asset ID',
        'future_ready_hint' => 'Manual assignments until a dedicated Assets module is available. Use external asset ID to link later.',
        'delete_confirm' => 'Remove this asset assignment?',
        'statuses' => [
            'assigned' => 'Assigned',
            'returned' => 'Returned',
            'lost' => 'Lost',
        ],
    ],

    'employment_history' => [
        'add' => 'Add history record', 'type' => 'Type', 'effective_date' => 'Effective date',
        'previous_value' => 'Previous value', 'new_value' => 'New value', 'change' => 'Change',
        'reason' => 'Reason', 'notes' => 'Notes',
        'activity' => ':name employment history changed: :type.',
        'types' => [
            'promotion' => 'Promotion', 'transfer' => 'Transfer', 'salary_change' => 'Salary change',
            'warning' => 'Warning', 'reward' => 'Reward',
        ],
    ],

    'empty_tab' => [
        'payroll' => 'No payroll snapshots linked to this employee yet.',
        'documents' => 'No documents uploaded yet.',
        'emergency_contacts' => 'No emergency contacts yet.',
        'skills' => 'No skills recorded yet.',
        'assets' => 'No assets assigned yet.',
        'employment_history' => 'No employment history recorded yet.',
        'activity' => 'No activity recorded for this employee yet.',
    ],

    'actions' => [
        'add' => 'Add employee',
        'create' => 'Create',
        'update' => 'Save changes',
        'edit' => 'Edit',
        'view' => 'View',
        'edit_bank' => 'Edit bank details',
        'manage_documents' => 'Manage documents',
        'deactivate' => 'Deactivate',
        'back_to_list' => 'Back to list',
        'deactivate_confirm' => 'Deactivate this employee? The record stays in the system as inactive.',
    ],

    'flash' => [
        'created' => 'Employee created successfully.',
        'updated' => 'Employee updated successfully.',
        'deactivated' => 'Employee deactivated successfully.',
        'emergency_contact_created' => 'Emergency contact added.',
        'emergency_contact_updated' => 'Emergency contact updated.',
        'emergency_contact_deleted' => 'Emergency contact removed.',
        'skill_created' => 'Skill added.',
        'skill_updated' => 'Skill updated.',
        'skill_deleted' => 'Skill removed.',
        'asset_assigned' => 'Asset assigned.',
        'asset_updated' => 'Asset assignment updated.',
        'asset_removed' => 'Asset assignment removed.',
        'employment_history_created' => 'Employment history added.',
        'employment_history_updated' => 'Employment history updated.',
        'employment_history_deleted' => 'Employment history removed.',
    ],

    'validation' => [
        'national_id_unique' => 'This national ID is already used for another employee in your organization.',
        'employee_code_unique' => 'This employee code is already in use.',
        'position_tenant' => 'The selected position is not valid for this department.',
        'position_department' => 'The position must belong to the selected department.',
        'department_tenant' => 'The selected department is not available for your tenant.',
        'tenant_mismatch' => 'The department does not belong to the same organization as this employee.',
        'manager_self' => 'An employee cannot be their own manager.',
        'manager_tenant' => 'The selected manager is not available for your tenant.',
        'manager_circular' => 'This manager assignment would create a circular hierarchy.',
    ],

    'user_account' => [
        'heading' => 'Linked user account',
        'hint' => 'A system login lets this employee use self-service attendance, leave, and approvals.',
        'create' => 'Create account',
        'link_existing' => 'Link existing account',
        'link' => 'Link account',
        'unlink' => 'Unlink account',
        'unlink_confirm' => 'Unlink this user account from the employee? The login will remain but will no longer be tied to this HR record.',
        'select_user' => 'User account',
        'select_user_placeholder' => 'Choose an unlinked user',
        'flash' => [
            'created' => 'User account created and linked to this employee.',
            'linked' => 'User account linked to this employee.',
            'unlinked' => 'User account unlinked from this employee.',
        ],
        'validation' => [
            'email_required' => 'Add an email to the employee record before creating a login.',
            'already_linked' => 'This employee already has a linked user account.',
            'user_invalid' => 'The selected user is not available for your organization.',
            'user_already_linked' => 'The selected user is already linked to another employee.',
        ],
    ],
];
