| + User + | ++ Provider + | ++ Organization ID + | ++ Status + | ++ Last Used + | ++ Actions + | +
|---|---|---|---|---|---|
|
+ {{ $credential->user->name }}
+ {{ $credential->user->email }}
+ |
+ + + {{ ucfirst($credential->provider) }} + + | ++ {{ $credential->organization_id ?? '-' }} + | ++ @if($credential->is_active) + + Active + + @else + + Inactive + + @endif + | ++ {{ $credential->last_used_at ? $credential->last_used_at->diffForHumans() : 'Never' }} + | ++ + + View + + + Edit + + + | +
| + No credentials found. Add your first credentials + | +|||||
{{ $credential->provider }}-*********************
+ (hidden for security)
+ | + User + | ++ Total Requests + | ++ Monthly Budget + | ++ Budget Status + | ++ Actions + | +
|---|---|---|---|---|
|
+ {{ $user->name }}
+ {{ $user->email }}
+ |
+ + {{ number_format($user->llm_requests_count) }} + | ++ @if($user->budget) + ${{ number_format($user->budget->monthly_limit, 2) }} + @else + Not set + @endif + | ++ @if($user->budget) + @php + $percentage = $user->budget->monthly_limit > 0 + ? ($user->budget->current_month_spending / $user->budget->monthly_limit) * 100 + : 0; + @endphp + + @if($user->budget->is_budget_exceeded) + + Exceeded + + @elseif($percentage >= 80) + + {{ round($percentage) }}% + + @else + + {{ round($percentage) }}% + + @endif + @else + + No budget + + @endif + | ++ + Manage Budget + + | +
| + No users found. + | +||||