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
@@ -8,8 +8,12 @@
<x-settings.card title="Upgrade your plan">
<p class="text-sm text-slate-600">
GHS {{ number_format($proPriceMinor / 100, 0) }} / branch / month for Pro
multi-branch locations, laboratory, pharmacy, encounter billing, and in-app service queues.
@if (! empty($upgradeBody))
{{ $upgradeBody }}
@else
GHS {{ number_format($proPriceMinor / 100, 0) }} / branch / month for {{ $planLabel ?? 'Pro' }}
multi-branch locations, laboratory, pharmacy, encounter billing, and in-app service queues.
@endif
</p>
<div class="mt-4 flex flex-wrap items-center gap-3">
<a href="{{ route('care.pro.index') }}" class="btn-primary">View plans</a>