Gate Care branch management behind Pro like Frontdesk.
Deploy Ladill Care / deploy (push) Successful in 1m25s
Deploy Ladill Care / deploy (push) Successful in 1m25s
Free plans keep a single setup branch but get an upgrade screen for Branches; Pro/Enterprise unlock multi-branch management via plan features.
This commit is contained in:
@@ -49,7 +49,7 @@
|
||||
</x-settings.card>
|
||||
|
||||
@if ($canViewBranches || $canViewTeam)
|
||||
<x-settings.card title="Branches & team" description="Locations and staff access for this facility. Multi-branch requires Care Pro.">
|
||||
<x-settings.card title="Branches & team" description="Locations and staff access for this facility. Multi-branch management requires Care Pro.">
|
||||
<ul class="space-y-3">
|
||||
@if ($canViewBranches)
|
||||
<li>
|
||||
@@ -57,10 +57,16 @@
|
||||
class="flex items-center justify-between rounded-xl border border-slate-100 bg-slate-50 px-4 py-3 text-sm text-slate-700 hover:text-indigo-700">
|
||||
<span>
|
||||
Branches
|
||||
@if (! $hasPaidPlan)
|
||||
@if (! $hasBranchesFeature)
|
||||
<span class="ml-2 rounded-full bg-amber-50 px-2 py-0.5 text-[10px] font-semibold uppercase tracking-wide text-amber-700">Pro</span>
|
||||
@endif
|
||||
<span class="mt-0.5 block text-xs text-slate-500">Clinic locations and sites ({{ $branchCount }} configured)</span>
|
||||
<span class="mt-0.5 block text-xs text-slate-500">
|
||||
@if ($hasBranchesFeature)
|
||||
Clinic locations and sites ({{ $branchCount }} configured)
|
||||
@else
|
||||
Free includes one branch from setup · manage locations on Pro
|
||||
@endif
|
||||
</span>
|
||||
</span>
|
||||
<span class="text-slate-400">→</span>
|
||||
</a>
|
||||
|
||||
@@ -0,0 +1,20 @@
|
||||
<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">
|
||||
GHS {{ number_format($proPriceMinor / 100, 0) }} / branch / month for Pro —
|
||||
multi-branch locations, laboratory, pharmacy, encounter billing, and Ladill Queue integration.
|
||||
</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>
|
||||
Reference in New Issue
Block a user