Files
ladill-meet/resources/views/meet/admin/usage.blade.php
T
isaaccladandCursor 965fb992e9
Deploy Ladill Meet / deploy (push) Failing after 7s
Initial Ladill Meet release.
Phases 0–18: core meetings, webinar, breakouts, team chat, live streaming, town hall, billing, and Ladill Mail calendar wiring.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-30 23:35:29 +00:00

25 lines
1.2 KiB
PHP

<x-app-layout title="Usage & billing">
<div class="mx-auto max-w-2xl">
<h1 class="text-xl font-semibold text-slate-900">Usage & quotas</h1>
<p class="mt-1 text-sm text-slate-600">{{ $organization->name }} · {{ ucfirst($tier) }} plan</p>
<div class="mt-6 space-y-4">
@foreach ($quotas as $metric => $limit)
@php
$used = (int) ($summary[$metric] ?? 0);
$pct = $limit > 0 ? min(100, round(($used / $limit) * 100)) : 0;
@endphp
<div class="rounded-2xl border border-slate-200 bg-white p-6">
<div class="flex items-center justify-between">
<h2 class="font-medium text-slate-900">{{ str_replace('_', ' ', ucfirst($metric)) }}</h2>
<span class="text-sm text-slate-500">{{ number_format($used) }} / {{ number_format($limit) }}</span>
</div>
<div class="mt-3 h-2 overflow-hidden rounded-full bg-slate-100">
<div class="h-full rounded-full bg-indigo-500" style="width: {{ $pct }}%"></div>
</div>
</div>
@endforeach
</div>
</div>
</x-app-layout>