Files
ladill-care/resources/views/care/settings/pro-feature.blade.php
T
isaaccladandCursor cebc9c8e4c
Deploy Ladill Care / deploy (push) Successful in 41s
Show upgrade UI for assessment analytics instead of bare 403.
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>
2026-07-20 16:26:43 +00:00

25 lines
1.2 KiB
PHP

<x-app-layout :title="$title">
<x-settings.page :title="$title" :description="$description">
<div class="mb-4 flex flex-wrap items-center gap-2 text-sm">
<a href="{{ route('care.settings') }}" class="text-slate-500 hover:text-slate-800">Settings</a>
<span class="text-slate-300">/</span>
<span class="font-medium text-slate-900">{{ $title }}</span>
</div>
<x-settings.card title="Upgrade your plan">
<p class="text-sm text-slate-600">
@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>
<a href="{{ route('care.wallet') }}" class="text-sm font-medium text-indigo-600 hover:text-indigo-800">Top up</a>
</div>
</x-settings.card>
</x-settings.page>
</x-app-layout>