<?php

return [
    'title' => 'Attendance corrections',
    'subtitle' => 'Review employee requests to fix attendance records. Original times are preserved in metadata when approved.',
    'employee_title' => 'My attendance corrections',
    'employee_subtitle' => 'Request changes to your own attendance. HR must approve before any record is updated.',
    'create_title' => 'Request a correction',
    'create_subtitle' => 'Choose the attendance day and describe the issue. You cannot change another employee’s record.',
    'fields' => [
        'record' => 'Attendance record',
        'type' => 'Correction type',
        'requested_check_in' => 'Requested check-in',
        'requested_check_out' => 'Requested check-out',
        'reason' => 'Reason',
        'status' => 'Status',
        'reviewer_note' => 'Reviewer note',
        'date' => 'Attendance date',
    ],
    'types' => [
        'missing_checkout' => 'Missing checkout',
        'wrong_checkin' => 'Wrong check-in',
        'wrong_checkout' => 'Wrong check-out',
        'attendance_dispute' => 'Attendance dispute',
    ],
    'status' => [
        'pending' => 'Pending',
        'approved' => 'Approved',
        'rejected' => 'Rejected',
    ],
    'filters' => [
        'status' => 'Status',
        'apply' => 'Apply',
        'all' => 'All',
    ],
    'actions' => [
        'new' => 'New request',
        'submit' => 'Submit request',
        'approve' => 'Approve',
        'reject' => 'Reject',
        'back_attendance' => 'My attendance',
    ],
    'validation' => [
        'check_out_required' => 'Requested check-out is required for this correction type.',
        'check_in_required' => 'Requested check-in is required for this correction type.',
        'at_least_one_time' => 'Provide at least one corrected time.',
        'check_out_after_check_in' => 'Check-out must be after check-in.',
        'pending_exists' => 'A pending correction already exists for this attendance record.',
    ],
    'flash' => [
        'submitted' => 'Correction request submitted.',
        'approved' => 'Correction approved and attendance updated.',
        'rejected' => 'Correction rejected.',
    ],
    'activity' => [
        'submitted' => 'Attendance correction #:id submitted.',
        'approved' => 'Attendance correction #:id approved.',
        'rejected' => 'Attendance correction #:id rejected.',
        'record_updated' => 'Attendance record #:id updated via correction #:correction.',
    ],
    'notifications' => [
        'submitted_title' => 'Attendance correction requested',
        'submitted_body' => 'Request #:id needs your review.',
        'approved_title' => 'Attendance correction approved',
        'approved_body' => 'Your correction request #:id was approved.',
        'rejected_title' => 'Attendance correction rejected',
        'rejected_body' => 'Your correction request #:id was rejected.',
    ],
    'empty' => 'No correction requests yet.',
    'hr_help' => 'Approving applies the requested times and stores the previous values in request metadata.',
];
