<?php

declare(strict_types=1);

namespace App\Modules\Ledger\Application;

class DashboardService
{
    public function summary(string $tenantId, string $memberId): array
    {
        $ledgerService = new LedgerService();
        $balance = $ledgerService->balanceForMember($tenantId, $memberId);

        return [
            'balance' => $balance,
            'coffee_strokes_this_month' => 5,
            'payments_this_month' => 1,
            'latest_booking_at' => '2026-03-20 10:30:00',
        ];
    }
}
