<?php

declare(strict_types=1);

namespace WorkforceOS\Services;

final class ReportService
{
    public function catalogue(array $tenant): array
    {
        return [
            'tenant_id' => $tenant['id'],
            'exports' => ['pdf', 'excel', 'csv'],
            'attendance_reports' => [
                ['name' => 'Daily Attendance', 'rows' => 842, 'status' => 'ready'],
                ['name' => 'Monthly Attendance', 'rows' => 26102, 'status' => 'queued'],
                ['name' => 'Raw Logs', 'rows' => 18452, 'status' => 'ready'],
                ['name' => 'Late Report', 'rows' => 317, 'status' => 'ready'],
                ['name' => 'Missing Punch Report', 'rows' => 44, 'status' => 'review'],
            ],
            'payroll_reports' => [
                ['name' => 'Salary Sheet', 'amount' => 26850000, 'status' => 'draft'],
                ['name' => 'Payslip Batch', 'amount' => 26850000, 'status' => 'pending_approval'],
                ['name' => 'OT Summary', 'amount' => 712000, 'status' => 'ready'],
                ['name' => 'Department Salary Report', 'amount' => 26850000, 'status' => 'ready'],
            ],
        ];
    }
}
