Limit Pro to 3 branches and leave Business unlimited.
Deploy Ladill POS / deploy (push) Successful in 2m15s
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:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user