SupportRequest
A SupportRequest is a message submitted through the in-app support form, recorded against the submitting user and their organisation.
Purpose
Section titled “Purpose”Users raise questions and issues from the support page rather than by email. Each request stores a free-text description, a category chosen from the form, and a boolean marking whether staff have dealt with it. Requests are answered by inBeta staff in the Filament admin panel.
Requests are written by the support form and read by staff tooling.
app/Http/Controllers/Support/SendSupportRequestController.php— validates and stores a submission.app/Services/SupportRequestService.php— creation and notification logic.app/Http/Controllers/SupportController.php— renders the support page.app/Services/SupportDataService.php— aggregates support page data with 30–60 minute caching.app/Filament/Resources/SupportRequestResource.php— staff triage and resolution.
Relationships
Section titled “Relationships”| Relation | Type | Related model |
|---|---|---|
organization |
belongsTo |
Organization |
submitter |
belongsTo |
User |
Data shape
Section titled “Data shape”Table support_requests. Primary key is a UUID (HasUuids).
| Column | Type | Notes |
|---|---|---|
id |
uuid |
Primary key |
description |
text |
The request body |
category |
string |
Chosen on the support form |
resolved |
boolean |
Cast to boolean, defaults to false |
organization_id |
uuid |
FK to organizations |
submitter_id |
uuid |
FK to users |
created_at, updated_at |
datetime |
Timestamps |
Both foreign keys are required, so a request always has an organisation and a submitter.