Move Branches and Team into Settings as Pro features.
Deploy Ladill Frontdesk / deploy (push) Successful in 48s
Deploy Ladill Frontdesk / deploy (push) Successful in 48s
Gate multi-branch and team management behind paid plans, nest their routes under Settings, and remove them from the sidebar Administration section.
This commit is contained in:
@@ -15,7 +15,7 @@
|
||||
({{ $activeBranchCount }} active).
|
||||
@endif
|
||||
@else
|
||||
<span class="font-medium text-slate-900">Free</span> — one branch, one kiosk, core check-in and badges. Host alerts billed after {{ number_format($freeEmailAllowance) }} free emails per month.
|
||||
<span class="font-medium text-slate-900">Free</span> — one branch (setup only), one kiosk, owner-only access. Multi-branch and team require Pro. Host alerts billed after {{ number_format($freeEmailAllowance) }} free emails per month.
|
||||
@endif
|
||||
</p>
|
||||
@if (! $hasPaidPlan)
|
||||
@@ -47,6 +47,45 @@
|
||||
</x-settings.card>
|
||||
@endif
|
||||
|
||||
@if ($canViewBranches || $canViewTeam)
|
||||
<div class="grid gap-4 sm:grid-cols-2">
|
||||
@if ($canViewBranches)
|
||||
<a href="{{ route('frontdesk.branches.index') }}"
|
||||
class="group rounded-2xl border border-slate-200 bg-white p-5 shadow-sm transition hover:border-indigo-200 hover:shadow-md">
|
||||
<div class="flex items-start justify-between gap-3">
|
||||
<div>
|
||||
<p class="text-sm font-semibold text-slate-900 group-hover:text-indigo-700">Branches</p>
|
||||
<p class="mt-1 text-sm text-slate-500">Locations, buildings, and reception desks.</p>
|
||||
</div>
|
||||
@if (! $hasBranchesFeature)
|
||||
<span class="shrink-0 rounded-full bg-amber-50 px-2 py-0.5 text-[10px] font-semibold uppercase tracking-wide text-amber-700">Pro</span>
|
||||
@endif
|
||||
</div>
|
||||
<p class="mt-4 text-xs font-medium text-indigo-600">
|
||||
{{ $hasBranchesFeature ? 'Manage branches →' : 'Upgrade to unlock →' }}
|
||||
</p>
|
||||
</a>
|
||||
@endif
|
||||
@if ($canViewTeam)
|
||||
<a href="{{ route('frontdesk.members.index') }}"
|
||||
class="group rounded-2xl border border-slate-200 bg-white p-5 shadow-sm transition hover:border-indigo-200 hover:shadow-md">
|
||||
<div class="flex items-start justify-between gap-3">
|
||||
<div>
|
||||
<p class="text-sm font-semibold text-slate-900 group-hover:text-indigo-700">Team</p>
|
||||
<p class="mt-1 text-sm text-slate-500">Invite colleagues and assign Frontdesk roles.</p>
|
||||
</div>
|
||||
@if (! $hasTeamFeature)
|
||||
<span class="shrink-0 rounded-full bg-amber-50 px-2 py-0.5 text-[10px] font-semibold uppercase tracking-wide text-amber-700">Pro</span>
|
||||
@endif
|
||||
</div>
|
||||
<p class="mt-4 text-xs font-medium text-indigo-600">
|
||||
{{ $hasTeamFeature ? 'Manage team →' : 'Upgrade to unlock →' }}
|
||||
</p>
|
||||
</a>
|
||||
@endif
|
||||
</div>
|
||||
@endif
|
||||
|
||||
<form method="POST" action="{{ route('frontdesk.settings.update') }}" enctype="multipart/form-data" class="space-y-6">
|
||||
@csrf @method('PUT')
|
||||
|
||||
|
||||
Reference in New Issue
Block a user