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:
+10
-2
@@ -19,8 +19,16 @@ return [
|
||||
],
|
||||
|
||||
'plans' => [
|
||||
'pro' => ['price_minor' => (int) env('POS_PRO_PRICE_MINOR', 79000)],
|
||||
'enterprise' => ['price_minor' => (int) env('POS_ENTERPRISE_PRICE_MINOR', 249000)],
|
||||
'pro' => [
|
||||
'price_minor' => (int) env('POS_PRO_PRICE_MINOR', 79000),
|
||||
// null = unlimited
|
||||
'max_locations' => (int) env('POS_PRO_MAX_LOCATIONS', 3),
|
||||
],
|
||||
'enterprise' => [
|
||||
'price_minor' => (int) env('POS_ENTERPRISE_PRICE_MINOR', 249000),
|
||||
// null = unlimited branches
|
||||
'max_locations' => null,
|
||||
],
|
||||
],
|
||||
|
||||
'prepaid_months' => [6, 12, 24],
|
||||
|
||||
Reference in New Issue
Block a user