Gate Care branch management behind Pro like Frontdesk.
Deploy Ladill Care / deploy (push) Successful in 1m25s

Free plans keep a single setup branch but get an upgrade screen for Branches; Pro/Enterprise unlock multi-branch management via plan features.
This commit is contained in:
isaacclad
2026-07-16 09:14:58 +00:00
parent 0181c958f5
commit 85eb04d2a3
9 changed files with 185 additions and 8 deletions
+4 -3
View File
@@ -128,12 +128,13 @@ class CareWebTest extends TestCase
public function test_branches_index_loads(): void
{
// Free plan: multi-branch management is Pro-gated (setup branch still exists).
$this->actingAs($this->user)
->get(route('care.branches.index'))
->assertOk()
->assertSee('All branches')
->assertSee('Main Branch')
->assertSee('Settings');
->assertSee('Upgrade your plan')
->assertSee('View plans')
->assertDontSee('Main Branch');
}
public function test_members_index_loads(): void