Limit Pro to 3 branches and leave Business unlimited.
Deploy Ladill POS / deploy (push) Successful in 2m15s

Enforce plan location caps in SubscriptionService, surface upgrade
copy on plans and branch settings, and cover the limits in tests.
This commit is contained in:
isaacclad
2026-07-15 15:24:51 +00:00
parent e2b608a506
commit 5e31bdf629
7 changed files with 142 additions and 7 deletions
@@ -47,6 +47,14 @@
<a href="{{ route('pos.pro.index') }}" class="font-semibold underline">Pro or Business</a>.
Your account is limited to one branch.
</p>
@else
@if (! empty($canManageBranches) && ! $canAddBranch)
<p class="rounded-xl bg-amber-50 px-4 py-3 text-sm text-amber-900">
You've reached the branch limit on Pro (up to 3).
<a href="{{ route('pos.pro.index') }}" class="font-semibold underline">Upgrade to Business</a>
for unlimited locations.
</p>
@endif
@endunless
</div>
</x-settings.card>