Move Branches and Team into settings; drop wallet from plan CTAs.
Deploy Ladill Care / deploy (push) Successful in 1m24s

Match Frontdesk by linking branches and team from settings instead of the admin sidebar, and simplify Care plan upgrade button copy.
This commit is contained in:
isaacclad
2026-07-16 08:58:07 +00:00
parent c6fd2547ef
commit eaf482b5a2
5 changed files with 49 additions and 16 deletions
@@ -24,7 +24,9 @@ class SettingsController extends Controller
{
$this->authorizeAbility($request, 'settings.view');
$organization = $this->organization($request);
$canManage = app(CarePermissions::class)->can($this->member($request), 'settings.manage');
$member = $this->member($request);
$permissions = app(CarePermissions::class);
$canManage = $permissions->can($member, 'settings.manage');
$credential = $credentials->forOrganization($organization);
$branchCount = Branch::owned($this->ownerRef($request))
@@ -32,11 +34,15 @@ class SettingsController extends Controller
->count();
$plans = app(PlanService::class);
$hasPaidPlan = $plans->hasPaidPlan($organization);
return view('care.settings.edit', [
'organization' => $organization,
'canManage' => $canManage,
'branchCount' => $branchCount,
'canViewBranches' => $permissions->can($member, 'admin.branches.view'),
'canViewTeam' => $permissions->can($member, 'admin.members.view'),
'hasPaidPlan' => $hasPaidPlan,
'canUseQueueIntegration' => $plans->canUseQueueIntegration($organization),
'messagingSmsReady' => $credential->hasValidSms(),
'messagingEmailReady' => $credential->hasValidBird(),