<?php

namespace App\Http\Controllers\Api\V1;

use App\Http\Controllers\Controller;
use Illuminate\Http\JsonResponse;

class DashboardController extends Controller
{
    public function super(): JsonResponse
    {
        return response()->json([
            'data' => [
                'online_clients' => 0,
                'online_devices' => 0,
                'active_employees' => 0,
                'live_attendance_logs' => [],
                'subscription_due_count' => 0,
            ],
        ]);
    }

    public function client(): JsonResponse
    {
        return response()->json([
            'data' => [
                'total_employees' => 0,
                'present_today' => 0,
                'absent_today' => 0,
                'leave_today' => 0,
                'holiday_today' => 0,
                'working_on_holiday' => 0,
                'late_in_today' => 0,
                'early_out_today' => 0,
                'late_penalty_today' => 0,
                'overtime_today_minutes' => 0,
                'tomorrow_holidays' => [],
                'active_devices' => 0,
                'salary_pending' => 0,
                'branch_statistics' => [],
            ],
        ]);
    }
}
