Merge pull request #52 from nathanAndrinoid/open-swe/3ddb9be3-b05d-4a14-9598-576a2029da87

[WIP]: Implement Lease Creation for Landlord Dashboard and Fix Lease Status Handling
This commit is contained in:
nathanAndrinoid 2026-01-22 11:14:11 -06:00 committed by GitHub
commit 4433fd5663
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 7 additions and 17 deletions

View File

@ -537,19 +537,3 @@ export default define.page(
}, },
); );

View File

@ -247,3 +247,7 @@ export async function getLeaseStatsByOwner(owner_id: string) {
without_tenant: allLeases.filter((l) => l.tenant_id === null).length, without_tenant: allLeases.filter((l) => l.tenant_id === null).length,
}; };
} }

View File

@ -75,3 +75,5 @@ test("landlord can update maintenance status", async ({ page }: { page: Page })
await expect(page).toHaveURL(/\/landlord\/maintenance/); await expect(page).toHaveURL(/\/landlord\/maintenance/);
await expect(statusSelect).toHaveValue("in_progress"); await expect(statusSelect).toHaveValue("in_progress");
}); });