Dashboard
Platform-wide KPI overview. The first screen a platform admin sees after login. Shows tenant health, plan distribution, and recently joined businesses at a glance.
⚡ Platform Admin
| Tenant | Plan | Status | Joined |
|---|---|---|---|
| Al-Noor Engineering | Professional | active | 15 Mar 2024 |
| RapidBuild Co. | Starter | active | 10 Mar 2024 |
| Metro Structures | Enterprise | active | 28 Feb 2024 |
Tenant List
Full list of all business tenants. Filterable by plan and status. Each row has quick-action buttons for edit and suspend.
Tenants
| # | Business Name | Owner | Plan | Status | Actions |
|---|---|---|---|---|---|
| 3 | Al-Noor Engineering bilal@alnoor.pk |
Mr. Bilal Ahmed | Professional | active | |
| 4 | RapidBuild Co. sana@rapidbuild.pk |
Ms. Sana Khan | Starter | active | |
| 5 | Metro Structures ahmed@metro.pk |
Ahmed Malik | Enterprise | active | |
| 6 | ZenithCivil omar@zenith.pk |
Omar Raza | Starter | suspended |
Invite Tenant
Create a new business tenant. On submit, the API auto-generates a subdomain slug and optionally creates an admin user with a temporary password returned in the response.
Invite New Tenant
✕ CancelTenant Detail & Edit
View and edit a single tenant. Shows all fields, plan assignment, and subscription status. Saving a change with is_active=false triggers a TENANT_SUSPENDED audit event.
Al-Noor Engineering
← BackSubscription Plans List
All subscription plans including inactive ones. Shows per-plan tenant counts. Plans with -1 limits are displayed as "Unlimited". Inactive plans show a dimmed row.
Subscription Plans
Plan Create / Edit Form
Create a new plan or edit an existing one. The slug is auto-generated but editable. Use -1 for unlimited values. Has Client Portal is shown only to Professional and Enterprise plans.
New Subscription Plan
← CancelAudit Log
Immutable audit trail of all platform operations. Filterable by category and read status. Unread events show an amber dot. Search spans title, body, event_code, and numeric ID.
Audit Log
Audit Event Detail
Full detail view of a single audit event. Shows actor info, event code, category, body text, and timestamp. Marking as read sets is_read=true on the record.
Audit Event #47
← LogSuspend Confirmation Dialog
Shown before suspending a tenant or before deleting a plan that may have tenants assigned. Soft-deactivation for tenants, deactivation-not-deletion for plans with active users.
Confirm Suspension
✕Their admin and all users will immediately lose access to the portal.
No data is deleted — all projects, documents, employees, and records are preserved.
The tenant can be reactivated at any time from the tenant edit screen.
Platform Overview
Read-only system health snapshot. Shows all portals active on the platform, the user type hierarchy, and quick navigation to all admin sections. The "God's-eye view" of the whole system.
⚡ Platform Overview
v1.0| Portal | Color | User Type | Guard |
|---|---|---|---|
| Platform Admin | Amber | platform_admin | rejectUnlessSuperAdmin |
| Admin Portal | Sky | admin | rejectUnlessPortalUserType |
| Employee Portal | Green | employee | business_id scoped |
| Client Portal | Violet | client | client_user_id scoped |
| Contractor Portal | Orange | contractor | subcontractor resolver |
Manage all businesses
Subscription tiers
Platform events
KPI overview