Show upgrade UI for assessment analytics instead of bare 403.
Deploy Ladill Care / deploy (push) Successful in 41s
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user