Harden per-branch billing with seat caps and mid-cycle expansion.
Deploy Ladill Frontdesk / deploy (push) Successful in 55s
Deploy Ladill Frontdesk / deploy (push) Successful in 55s
Enforce billed_branches when adding or reactivating branches, charge wallet for extra seats mid-cycle, fix Settings for Enterprise, and cover multi-branch checkout and renewal amounts in tests.
This commit is contained in:
@@ -43,7 +43,11 @@ class SettingsController extends Controller
|
||||
'notificationEvents' => config('frontdesk.notification_events'),
|
||||
'plan' => $plan,
|
||||
'isPro' => $plans->isPro($organization),
|
||||
'proPriceMinor' => $plans->proPriceMinor(),
|
||||
'isEnterprise' => $plans->isEnterprise($organization),
|
||||
'hasPaidPlan' => $plans->hasPaidPlan($organization),
|
||||
'billedBranches' => $plans->billedBranches($organization),
|
||||
'activeBranchCount' => $plans->activeBranchCount($organization),
|
||||
'proPriceMinor' => $plans->proPricePerBranchMinor(),
|
||||
'monthlyUsage' => $monthlyUsage,
|
||||
'freeEmailAllowance' => $freeEmailAllowance,
|
||||
'emailCostFormatted' => $pricing->formatMinor($pricing->emailCostMinor()),
|
||||
|
||||
Reference in New Issue
Block a user