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:
@@ -55,7 +55,7 @@ class LocationController extends Controller
|
||||
|
||||
if (! $this->subscriptions->canAddLocation($account, $owner)) {
|
||||
return redirect()->route('pos.pro.index')
|
||||
->with('upsell', 'Multi-branch POS requires Ladill POS Pro or Business.');
|
||||
->with('upsell', $this->subscriptions->locationLimitMessage($account));
|
||||
}
|
||||
|
||||
$data = $request->validate([
|
||||
|
||||
Reference in New Issue
Block a user