<?php

declare(strict_types=1);

namespace WorkforceOS\Services;

final class AdminModuleService
{
    public function clients(): array
    {
        return [
            'summary' => ['total' => 18, 'active' => 16, 'trial' => 3, 'suspended' => 1],
            'clients' => [
                ['name' => 'Acme Industries Ltd.', 'package' => 'Enterprise', 'branches' => 12, 'employees' => 842, 'devices' => 14, 'status' => 'active', 'expires_on' => '2027-05-26'],
                ['name' => 'North Textile Group', 'package' => 'Business', 'branches' => 8, 'employees' => 1240, 'devices' => 28, 'status' => 'active', 'expires_on' => '2026-06-11'],
                ['name' => 'Prime Foods', 'package' => 'Trial', 'branches' => 2, 'employees' => 96, 'devices' => 3, 'status' => 'trial', 'expires_on' => '2026-06-03'],
                ['name' => 'Metro Logistics', 'package' => 'Business', 'branches' => 5, 'employees' => 420, 'devices' => 7, 'status' => 'suspended', 'expires_on' => '2026-05-12'],
            ],
        ];
    }

    public function packages(): array
    {
        return [
            'modules' => ['Payroll', 'Attendance', 'Leave', 'Loan', 'Advance Salary', 'Task Management', 'Contract Management', 'Finance', 'Mobile App Access', 'API Access', 'Face Recognition', 'GPS Attendance', 'Holiday OT', 'Multi Branch', 'Shift Management'],
            'packages' => [
                ['name' => 'Trial', 'monthly' => 0, 'yearly' => 0, 'employees' => 50, 'branches' => 1, 'devices' => 1, 'features' => 4, 'status' => 'active'],
                ['name' => 'Business', 'monthly' => 129, 'yearly' => 1290, 'employees' => 1000, 'branches' => 20, 'devices' => 50, 'features' => 10, 'status' => 'active'],
                ['name' => 'Enterprise', 'monthly' => 499, 'yearly' => 4990, 'employees' => 10000, 'branches' => 500, 'devices' => 1000, 'features' => 15, 'status' => 'active'],
            ],
        ];
    }
}
