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:
commit
4433fd5663
2
TODO.md
2
TODO.md
@ -59,4 +59,4 @@
|
|||||||
- [ ] Unit tests for lease creation
|
- [ ] Unit tests for lease creation
|
||||||
- [ ] Integration tests for tenant invitation flow
|
- [ ] Integration tests for tenant invitation flow
|
||||||
- [ ] E2E tests for complete lease lifecycle
|
- [ ] E2E tests for complete lease lifecycle
|
||||||
- [ ] Payment service integration tests
|
- [ ] Payment service integration tests
|
||||||
|
|||||||
@ -537,19 +537,3 @@ export default define.page(
|
|||||||
},
|
},
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -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,
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -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");
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user