Show upgrade UI for assessment analytics instead of bare 403.
Deploy Ladill Care / deploy (push) Successful in 41s

Non-Enterprise orgs hitting /reports/assessments get the in-app plans upsell; CSV export redirects to View plans with an upsell flash.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
isaacclad
2026-07-20 16:26:43 +00:00
co-authored by Cursor
parent d4b645d85b
commit cebc9c8e4c
4 changed files with 50 additions and 10 deletions
+4 -1
View File
@@ -111,7 +111,10 @@ class CareAssessmentExtrasTest extends TestCase
$this->actingAs($this->user)
->get(route('care.reports.show', ['type' => 'assessments']))
->assertForbidden();
->assertOk()
->assertSee('Upgrade your plan')
->assertSee('View plans')
->assertSee('Enterprise');
}
public function test_fhir_export_web_and_api(): void